1、问题调整

This commit is contained in:
pan 2024-09-03 17:30:32 +08:00
parent 8b01478e07
commit 38c8842f4d
2 changed files with 2 additions and 2 deletions

View File

@ -573,7 +573,7 @@ export default {
this.getDocumentTree(); this.getDocumentTree();
}); });
} else { } else {
this.$set(this.docCategoryForm, "type", "user") this.$set(this.docCategoryForm, "types", "user")
addCategory(this.docCategoryForm).then(response => { addCategory(this.docCategoryForm).then(response => {
this.$modal.msgSuccess("新增成功"); this.$modal.msgSuccess("新增成功");
this.docCategoryOpen = false; this.docCategoryOpen = false;

View File

@ -34,7 +34,7 @@
<el-card class="lrtt"> <el-card class="lrtt">
<div class="rt"> <div class="rt">
<div class="operate"> <div class="operate">
<el-button type="primary" @click="setAllMarkedRead">全部标记已读</el-button> <el-button type="primary" v-if="tableList && tableList.length > 0" @click="setAllMarkedRead">全部标记已读</el-button>
</div><!--operate 操作按钮--> </div><!--operate 操作按钮-->
<el-table v-loading="loading" :data="tableList"> <el-table v-loading="loading" :data="tableList">
<el-table-column type="index" label="序号" width="50" /> <el-table-column type="index" label="序号" width="50" />