diff --git a/src/components/StandardResolutionSheet.vue b/src/components/StandardResolutionSheet.vue index 00b1303..be1a788 100644 --- a/src/components/StandardResolutionSheet.vue +++ b/src/components/StandardResolutionSheet.vue @@ -298,6 +298,12 @@ export default { this.queryParam = {} this.initDetailInfo() }, + // 清除选中状态 + clearSelect () { + this.selectedTreeKeys = [] + this.hightMenuId = null + this.clauseLabelInfo = {} + }, /** * 拖拽回调 * @param min - 拖拽最小宽度 @@ -349,10 +355,14 @@ export default { } previewDocSplit(params).then(res => { if (res.success) { + // 清除选中状态 + this.clearSelect() const data = res.result || {} this.treeData = data.sarFileSplitMenuEO || [] this.spiltInfo = data.documentSplitInfo || {} this.clauseContentList = data.documentSplitDetail || [] + } else { + this.$message.warn(res.message) } }).finally(() => { this.loading = false