Ver código fonte

feat: fileProp 双向绑定

Grnetsky 1 ano atrás
pai
commit
153ebba840
1 arquivos alterados com 1 adições e 1 exclusões
  1. 1 1
      src/views/components/FileProps.vue

+ 1 - 1
src/views/components/FileProps.vue

@@ -59,7 +59,7 @@
               :swatch-colors="defaultPureColor"
               :color-modes="['monochrome']"
               :show-primary-color-preview="false"
-              :value="data.meta2dData.background"
+              v-model="data.meta2dData.background"
               @change="changeValue($event, 'background')"
             />
           </div>