mirror of
https://github.com/doocs/md.git
synced 2024-11-24 19:10:34 +08:00
fix: uncleared history (#354)
This commit is contained in:
parent
1904ab492a
commit
832360419c
@ -149,6 +149,10 @@ export const useStore = defineStore(`store`, () => {
|
|||||||
},
|
},
|
||||||
],
|
],
|
||||||
})
|
})
|
||||||
|
onMounted(() => {
|
||||||
|
// 清空过往历史记录
|
||||||
|
cssContent.value = ``
|
||||||
|
})
|
||||||
const getCurrentTab = () => cssContentConfig.value.tabs.find((tab) => {
|
const getCurrentTab = () => cssContentConfig.value.tabs.find((tab) => {
|
||||||
return tab.name === cssContentConfig.value.active
|
return tab.name === cssContentConfig.value.active
|
||||||
})
|
})
|
||||||
|
Loading…
Reference in New Issue
Block a user