fix(canvas): 去掉待保存闪烁,仅显示保存中/保存失败
This commit is contained in:
@@ -797,7 +797,7 @@ onBeforeRouteLeave(async () => {
|
||||
})
|
||||
|
||||
const saveLabel = computed(() => ({
|
||||
saved: '', dirty: '待保存…', saving: '保存中…', error: '保存失败,重试中',
|
||||
saved: '', dirty: '', saving: '保存中…', error: '保存失败,重试中',
|
||||
}[saveState.value] || ''))
|
||||
</script>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user