Browse Source

feat:新增自动网格对齐

forestho 3 tuần trước cách đây
mục cha
commit
f9d1afc83e
1 tập tin đã thay đổi với 11 bổ sung0 xóa
  1. 11 0
      src/views/components/FileProps.vue

+ 11 - 0
src/views/components/FileProps.vue

@@ -60,6 +60,17 @@
                   style="width: 22px"
                 />
               </t-tooltip>
+              <t-tooltip
+               v-if="data.grid"
+                content="网格自动对齐"
+                placement="top"
+              >
+                <t-checkbox
+                  v-model="data.autoAlignGrid"
+                  @change="changeGrid($event, 'autoAlignGrid')"
+                  style="width: 22px"
+                />
+              </t-tooltip>
               <t-tooltip
                 v-if="data.grid"
                 :content="$t('网格颜色')"