Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
jinli gu
MCMS
Commits
6c0dded8
Commit
6c0dded8
authored
Dec 03, 2020
by
xierz
Browse files
自定义模型回显
parent
96777cff
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/main/webapp/WEB-INF/manager/cms/category/form.ftl
View file @
6c0dded8
...
@@ -509,6 +509,14 @@
...
@@ -509,6 +509,14 @@
if (!res.data.categoryId) {
if (!res.data.categoryId) {
res.data.categoryId = '0';
res.data.categoryId = '0';
}
}
var mdiyModelId = res.data.mdiyModelId;
if (mdiyModelId) {
mdiyModelId += "";
if (mdiyModelId == "
0
") {
mdiyModelId = null;
}
res.data.mdiyModelId = mdiyModelId;
}
that.form = res.data; //判断该分类是否存在文章,存在则不能修改栏目属性
that.form = res.data; //判断该分类是否存在文章,存在则不能修改栏目属性
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment