api接口baseUrl通过全局变量引入;代码格式化
This commit is contained in:
@@ -17,7 +17,9 @@ App({
|
||||
scope: 'scope',
|
||||
})
|
||||
},
|
||||
// 全局变量
|
||||
globalData: {
|
||||
baseUrl: "http://localhost:8080", // 不带最后的 /
|
||||
userInfo: null
|
||||
}
|
||||
})
|
||||
|
Reference in New Issue
Block a user