From 0d6c71506520a4d5965a8477cb681c34ad1b1924 Mon Sep 17 00:00:00 2001 From: wujj <1027418825@qq.com> Date: Thu, 8 Apr 2021 17:41:13 +0800 Subject: [PATCH] =?UTF-8?q?=E8=87=AA=E5=AE=9A=E4=B9=89=E8=B0=83=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main/webapp/WEB-INF/manager/cms/content/form.ftl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/webapp/WEB-INF/manager/cms/content/form.ftl b/src/main/webapp/WEB-INF/manager/cms/content/form.ftl index 6e6a16e5..73be73c0 100644 --- a/src/main/webapp/WEB-INF/manager/cms/content/form.ftl +++ b/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 });