提交10.31
This commit is contained in:
2
main.js
2
main.js
@@ -12,7 +12,6 @@ import config from './config.js';
|
||||
// 导入主包中的request.js用于字典服务
|
||||
// 在uni-app小程序环境中,主包不能直接引用分包中的模块
|
||||
import { request, get, post, packageRcRequest, packageRcGet, packageRcPost } from './utils/request.js';
|
||||
|
||||
// 将request, get, post函数挂载到全局,方便使用
|
||||
// 挂载分包专用的请求函数(使用固定baseURL和token)
|
||||
|
||||
@@ -75,7 +74,6 @@ async function getDict(dictType, forceRefresh = false) {
|
||||
|
||||
export function createApp() {
|
||||
const app = createSSRApp(App)
|
||||
|
||||
app.component('AppLayout', AppLayout)
|
||||
app.component('Empty', Empty)
|
||||
app.component('NoBouncePage', NoBouncePage)
|
||||
|
||||
Reference in New Issue
Block a user