We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 679741d commit de46e6dCopy full SHA for de46e6d
frontend/src/views/system/member/index.vue
@@ -24,8 +24,12 @@ const workspaceForm = reactive({
24
name: '',
25
id: '',
26
})
27
-const selectable = (row: any) => ![userStore.getUid].includes(row.id) && row.weight !== 1
28
-
+const selectable = (row: any) => {
+ if (+userStore.getUid === 1) {
29
+ return true
30
+ }
31
+ return ![userStore.getUid].includes(row.id) && row.weight !== 1
32
+}
33
onMounted(() => {
34
search()
35
0 commit comments