Commit 6e866c2d authored by ms group dev's avatar ms group dev Committed by mingsoft

fix: 5.2.10 页面更新

Signed-off-by: 's avatarmingsoft <killfen@126.com>
parent 85321c35
......@@ -7,8 +7,10 @@
<body>
<div id="form" v-cloak>
<el-header class="ms-header ms-tr" height="50px">
<el-button type="primary" icon="iconfont icon-baocun" size="mini" @click="save()" :loading="saveDisabled">保存
</el-button>
<@shiro.hasPermission name="cms:category:save">
<el-button type="primary" icon="iconfont icon-baocun" size="mini" @click="save()" :loading="saveDisabled">保存
</el-button>
</@shiro.hasPermission>
<el-button size="mini" icon="iconfont icon-fanhui" plain onclick="javascript:history.go(-1)">返回</el-button>
</el-header>
<el-main class="ms-container">
......@@ -412,6 +414,10 @@
if (that.form.id > 0) {
url = ms.manager + "/cms/category/update.do";
}
//若缩略图为空则赋值为空串
if (that.form.categoryImg.length == 0){
that.form.categoryImg = "";
}
this.$refs.form.validate(function (valid) {
if (valid) {
//栏目属性为封面则不需要列表模板
......
......@@ -444,6 +444,12 @@
}).then(function (res) {
if (res.result) {
that.contentCategoryIdOptions = res.data.rows;
}else {
that.$notify({
title: '失败',
message: res.msg,
type: 'warning'
});
}
that.list();
......
......@@ -83,7 +83,7 @@
type="date">
</el-date-picker>
<div class="ms-form-tip">
根据内容的发布时间来生成,例如:2021-01-01,则生成21年01月01号以后发布的文章,如果遇到内容没有生成可以调整时间
根据内容的更新时间来生成,例如:2021-01-01,则生成21年01月01号以后更新过的文章,如果遇到内容没有生成或者内容样式没有更新可以调整时间
</div>
</el-form-item>
</div>
......
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