Jelajahi Sumber

视图自定义修改

unknown 5 tahun lalu
induk
melakukan
cbd5379056
1 mengubah file dengan 2 tambahan dan 0 penghapusan
  1. 2 0
      o2web/source/x_component_query_ViewDesigner/View.js

+ 2 - 0
o2web/source/x_component_query_ViewDesigner/View.js

@@ -1737,6 +1737,8 @@ MWF.xApplication.query.ViewDesigner.View.Actionbar = new Class({
         this.toolbarWidget = new MWF.widget.Toolbar(this.toolbarNode, {"style": this.json.style}, this);
         if (!this.json.actionStyles){
             this.json.actionStyles = Object.clone(this.toolbarWidget.css);
+        }else{
+            this.toolbarWidget.css = Object.clone(this.json.actionStyles);
         }
 
         //MWF.getJSON(this.path+"toolbars.json", function(json){