acomplish replacing Vue-cli with Vite

This commit is contained in:
GeekMaster
2025-05-26 15:56:18 +08:00
parent b1ddcef593
commit 76a3ada85f
44 changed files with 2811 additions and 9576 deletions

View File

@@ -84,6 +84,7 @@
import FooterBar from '@/components/FooterBar.vue'
import ThemeChange from '@/components/ThemeChange.vue'
import { checkSession, getLicenseInfo, getSystemInfo } from '@/store/cache'
import { removeUserToken } from '@/store/session'
import { httpGet } from '@/utils/http'
import { isMobile } from '@/utils/libs'
import { ElMessage } from 'element-plus'
@@ -211,12 +212,12 @@ const logout = function () {
removeUserToken()
router.push('/login')
})
.catch(() => {
ElMessage.error('注销失败')
.catch((e) => {
ElMessage.error('注销失败' + e.message)
})
}
</script>
<style lang="stylus" scoped>
@import "@/assets/css/index.styl"
@import '../assets/css/index.styl'
</style>