Commit 6c0dded8 authored by xierz's avatar xierz

自定义模型回显

parent 96777cff
......@@ -509,6 +509,14 @@
if (!res.data.categoryId) {
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; //判断该分类是否存在文章,存在则不能修改栏目属性
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment