فهرست منبع

update 大屏

qianlishi 4 سال پیش
والد
کامیت
b43937dfaa
1فایلهای تغییر یافته به همراه1 افزوده شده و 1 حذف شده
  1. 1 1
      report-ui/src/views/report/bigscreen/designer/index.vue

+ 1 - 1
report-ui/src/views/report/bigscreen/designer/index.vue

@@ -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++) {