Merge remote-tracking branch 'origin/5.2' into 5.2

This commit is contained in:
wujj 2020-10-21 15:51:39 +08:00
commit 1edf89e4af
2 changed files with 11 additions and 3 deletions

8
doc/5.2-patch.sql Normal file

File diff suppressed because one or more lines are too long

View File

@ -542,10 +542,10 @@
this.form.id = ms.util.getParameter("id");
this.form.childId = ms.util.getParameter("childId");// 判断是否增加子栏目
// 判断三种状态,默认为编辑状态
// 判断三种状态,默认为新增状态
this.categoryTypeDisabled = false;// 控制栏目分类是否可编辑
if (this.form.id != undefined && this.form.childId == undefined) {
// 切换新增状态id&childId 为空
if (this.form.id != undefined && (this.form.childId == undefined || this.form.childId == "undefined")) {
// 切换编辑状态id不为空 childId 为空
this.categoryTypeDisabled = true;
this.get(this.form.id);
} else if (this.form.childId) {