Commit cbd7de36 authored by 何远江's avatar 何远江

bug 修改

parent 863758b0
...@@ -720,6 +720,7 @@ const resetCurrentAreaState = (isedit: boolean = false) => { ...@@ -720,6 +720,7 @@ const resetCurrentAreaState = (isedit: boolean = false) => {
} }
isedit && (tmp.excelAreaId = '') isedit && (tmp.excelAreaId = '')
currentTitlesArea.value = [] currentTitlesArea.value = []
resetAttchInfo()
Object.assign(currentAreaMark, tmp) Object.assign(currentAreaMark, tmp)
} }
const resetCurrentArea = (fn?: Function) => { const resetCurrentArea = (fn?: Function) => {
...@@ -759,7 +760,6 @@ const saveAreaMark = async () => { ...@@ -759,7 +760,6 @@ const saveAreaMark = async () => {
} }
ElMessage.success('操作成功!') ElMessage.success('操作成功!')
resetCurrentAreaState(true) resetCurrentAreaState(true)
resetAttchInfo()
} }
const cachAreaMark = reactive<Recordable>({}) const cachAreaMark = reactive<Recordable>({})
......
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