更新:国内后台功能迁移海外后台

This commit is contained in:
2025-12-01 13:24:41 +08:00
parent 5da8058834
commit 50f2e89663
98 changed files with 42896 additions and 5762 deletions

View File

@@ -12,6 +12,7 @@ import '@/element-ui-theme'
import '@/assets/scss/index.scss'
import '@/assets/css/time-line.less' // 引入时间线样式
import Bus from '@/assets/js/eventBus.js'
import commonJS from '@/views/common/js/commonJS'
import httpRequest from '@/utils/httpRequest' // api: https://github.com/axios/axios
import { isAuth } from '@/utils'
import cloneDeep from 'lodash/cloneDeep'
@@ -38,10 +39,11 @@ if (process.env.NODE_ENV !== 'production') {
}
// 挂载全局
Vue.prototype.$http = httpRequest // ajax请求方法
Vue.prototype.isAuth = isAuth // 权限方法
Vue.prototype.$bus = Bus
Vue.prototype.$commonJS = commonJS //
// 保存整站vuex本地储存初始状态
window.SITE_CONFIG['storeState'] = cloneDeep(store.state)