update 大屏

qianlishi 3 years ago
parent 1c299a6aac
commit b43937dfaa

@ -545,6 +545,7 @@ export default {
// //
setOptionsOnClickWidget(obj) { setOptionsOnClickWidget(obj) {
this.screenCode = "";
if (typeof obj == "number") { if (typeof obj == "number") {
this.widgetOptions = this.deepClone(this.widgets[obj]["options"]); this.widgetOptions = this.deepClone(this.widgets[obj]["options"]);
return; return;
@ -609,7 +610,6 @@ export default {
}, },
deletelayer() { deletelayer() {
this.widgets.splice(this.rightClickIndex, 1); this.widgets.splice(this.rightClickIndex, 1);
// console.log(this.widgets);
}, },
setDefaultValue(options, val) { setDefaultValue(options, val) {
for (let i = 0; i < options.length; i++) { for (let i = 0; i < options.length; i++) {

Loading…
Cancel
Save