bill 8 tháng trước cách đây
mục cha
commit
1258080fab
1 tập tin đã thay đổi với 3 bổ sung1 xóa
  1. 3 1
      src/views/tagging-position/sign.vue

+ 3 - 1
src/views/tagging-position/sign.vue

@@ -60,8 +60,10 @@
           <ui-input
             type="checkbox"
             label="全部范围可见"
-            v-model="position.globalVisibility"
+            :modelValue="!!position.globalVisibility"
+            @update:modelValue="(v: boolean) => position.globalVisibility = v"
           />
+          {{ position.globalVisibility }}
         </template>
       </SignItem>
       <Button block type="primary" danger ghost size="large" @click="$emit('delete')"