diff --git a/manager/src/views/page/article-manage/articleList.vue b/manager/src/views/page/article-manage/articleList.vue index a9ff5071..0aee19c3 100644 --- a/manager/src/views/page/article-manage/articleList.vue +++ b/manager/src/views/page/article-manage/articleList.vue @@ -48,12 +48,13 @@ + @@ -108,7 +109,7 @@ export default { modalType: 0, // 添加或编辑标识 modalVisible: false, // 添加或编辑显示 modalTitle: "", // 添加或编辑标题 - + treeDataDefault:"", searchForm: { // 搜索框初始化对象 pageNumber: 1, // 当前页数 @@ -308,6 +309,7 @@ export default { this.loading = false; if (res.success) { this.treeData = this.getTree(res.result); + this.treeDataDefault = this.getTree(res.result); this.treeData.unshift({ title: "全部", level: 0, @@ -388,6 +390,7 @@ export default { this.modalType = 0; this.modalTitle = "添加文章"; this.treeValue = ''; + this.form = { sort: 1, content:''