YaolongHan 4 năm trước cách đây
mục cha
commit
357cb66888
1 tập tin đã thay đổi với 9 bổ sung1 xóa
  1. 9 1
      src/components/edit/attr_select.vue

+ 9 - 1
src/components/edit/attr_select.vue

@@ -159,7 +159,7 @@
           <!-- 防火分区 -->
           <div class="row-tit">颜色</div>
           <div class="row">
-            <swatches @input="changefillColor" :swatches="swatchess" v-model="fillColor" inline></swatches>
+            <swatches @input="fhfqchangefillColor" :swatches="swatchess" v-model="fillColor" inline></swatches>
           </div>
           <div class="row">
             <div class="row-tit">名称显示</div>
@@ -479,11 +479,19 @@ export default {
       }
       bus.$emit("changeImageNum", this.imageNum);
     },
+    // 石材铺装
     changefillColor() {
       if (this.fillColor) {
         bus.$emit("changefillColor", this.fillColor);
       }
     },
+    // 防火分区
+    fhfqchangefillColor() {
+      if (this.fillColor) {
+        bus.$emit("changeBorderColor", this.fillColor);
+        bus.$emit("changefillColor", this.fillColor);
+      }
+    },
     //设置缩小item为编辑状态
     OpenEditStatus() {
       bus.$emit("OpenEditStatus");