fix: fix demo and refine sidenav demo

This commit is contained in:
Justineo
2022-05-07 00:02:55 +08:00
parent 9f25df8b89
commit cde1d00122
3 changed files with 67 additions and 65 deletions

View File

@@ -164,6 +164,9 @@ export default {
this.code = this.$refs.source?.querySelector('pre')?.textContent || ''
},
destroyed () {
modal.close()
},
methods: {
play (vendor) {
let locale = getLocale(this.$route.path)