浏览代码

update table

qianlishi 3 年之前
父节点
当前提交
e2b000d4ce
共有 1 个文件被更改,包括 3 次插入1 次删除
  1. 3 1
      report-ui/src/views/report/bigscreen/designer/widget/widgetTable.vue

+ 3 - 1
report-ui/src/views/report/bigscreen/designer/widget/widgetTable.vue

@@ -59,13 +59,15 @@ export default {
   },
   computed: {
     styleObj() {
+      console.log(this.optionsSetUp);
       const allStyle = this.optionsPosition;
       return {
         position: this.ispreview ? "absolute" : "static",
         width: allStyle.width + "px",
         height: allStyle.height + "px",
         left: allStyle.left + "px",
-        top: allStyle.top + "px"
+        top: allStyle.top + "px",
+        background: this.optionsSetUp.tableBgColor
       };
     },
     headerTableStlye() {