mirror of
https://gh-proxy.org/https://github.com/klinsmaya/SQLBot.git
synced 2026-11-08 01:06:59 +08:00
fix: bug fix
This commit is contained in:
@@ -24,8 +24,12 @@ const workspaceForm = reactive({
|
||||
name: '',
|
||||
id: '',
|
||||
})
|
||||
const selectable = (row: any) => ![userStore.getUid].includes(row.id) && row.weight !== 1
|
||||
|
||||
const selectable = (row: any) => {
|
||||
if (+userStore.getUid === 1) {
|
||||
return true
|
||||
}
|
||||
return ![userStore.getUid].includes(row.id) && row.weight !== 1
|
||||
}
|
||||
onMounted(() => {
|
||||
search()
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user