feat: 新增锁定和隐藏失焦

This commit is contained in:
奔跑的面条 2022-09-28 21:39:31 +08:00
parent be84e64f00
commit cbeddb2460

View File

@ -843,6 +843,7 @@ export const useChartEditStore = defineStore({
) )
} }
this.updateComponentList(index, targetItem) this.updateComponentList(index, targetItem)
this.setTargetSelectChart(undefined)
loadingFinish() loadingFinish()
return return
} }
@ -875,6 +876,7 @@ export const useChartEditStore = defineStore({
) )
} }
this.updateComponentList(index, targetItem) this.updateComponentList(index, targetItem)
this.setTargetSelectChart(undefined)
loadingFinish() loadingFinish()
// 取消选择隐藏 // 取消选择隐藏
@ -882,7 +884,6 @@ export const useChartEditStore = defineStore({
const chartEditStore = useChartEditStore() const chartEditStore = useChartEditStore()
chartEditStore.setTargetSelectChart(undefined) chartEditStore.setTargetSelectChart(undefined)
} }
return
} }
} catch (value) { } catch (value) {
loadingError() loadingError()