ソースを参照

自定义调整

wujj 4 年 前
コミット
0d6c715065
1 ファイル変更1 行追加1 行削除
  1. 1 1
      src/main/webapp/WEB-INF/manager/cms/content/form.ftl

+ 1 - 1
src/main/webapp/WEB-INF/manager/cms/content/form.ftl

@@ -454,7 +454,7 @@
                     title: '',
                     name: 'custom-name'
                 });
-                ms.mdiy.model.model("model1", {id:modelId},{ linkId: that.form.id }).then(function(obj) {
+                ms.mdiy.model.extend("model1", {id:modelId},{ linkId: that.form.id }).then(function(obj) {
                     that.model = obj;
                     that.editableTabs[1].title = obj.modelName
                 });