优化首页

This commit is contained in:
gyq
2025-05-19 09:56:28 +08:00
parent 246b3e560c
commit d53f5e0279
11 changed files with 3010 additions and 1061 deletions

10
main.js
View File

@@ -11,9 +11,15 @@ import i18n from './locale/index'
// 全局icon组件
import iconfont from './components/iconfont/iconfont.vue'
// #ifdef MP-WEIXIN
// #ifdef H5
// 在组件或JS文件中使用
import Vconsole from 'vconsole';
new Vconsole()
if (process.env.NODE_ENV === 'development') {
console.log('当前是开发环境');
} else {
console.log('当前是生产环境');
// new Vconsole()
}
// #endif