|
@@ -58,15 +58,17 @@ export default {
|
|
case "QUAD":
|
|
case "QUAD":
|
|
return 4;
|
|
return 4;
|
|
default:
|
|
default:
|
|
- break;
|
|
|
|
|
|
+ return 0;
|
|
}
|
|
}
|
|
},
|
|
},
|
|
},
|
|
},
|
|
watch: {
|
|
watch: {
|
|
value(val) {
|
|
value(val) {
|
|
this.layers = Array(val);
|
|
this.layers = Array(val);
|
|
|
|
+
|
|
this.checkedKeys = Array(val);
|
|
this.checkedKeys = Array(val);
|
|
this.toolTitle = Array(val);
|
|
this.toolTitle = Array(val);
|
|
|
|
+ console.log(this.toolTitle, val, "----");
|
|
this.setCheckeds();
|
|
this.setCheckeds();
|
|
},
|
|
},
|
|
},
|
|
},
|