为了兼容 easycom 模式,不和应用自身的 cXxx 组件冲突,把 cXxx 改名为 ucXxx
This commit is contained in:
4
index.js
4
index.js
@@ -6,6 +6,8 @@ module.exports = {
|
||||
'】】】】】】】】】】】')
|
||||
},
|
||||
|
||||
sleep: (ms)=>new Promise((resolve, reject)=>setTimeout(resolve, ms)),
|
||||
|
||||
async request(obj){
|
||||
obj.method = 'POST'
|
||||
|
||||
@@ -101,7 +103,7 @@ module.exports = {
|
||||
// #ifdef H5
|
||||
document.title = windowTitle || page.$store.getters['i18n/getAppName'] || page.appName // 必须放在 setNavigationBarTitle 之后,否则会被其覆盖掉。
|
||||
// #endif
|
||||
page.$store.commit('i18n/setTabbar') // 必须要在有 tab 的页面里重置才能成功
|
||||
page.$store.commit('i18n/setTabbar') // 必须要在有 tab 的页面里重置才有效果
|
||||
},
|
||||
|
||||
localeText(){
|
||||
|
||||
Reference in New Issue
Block a user