为了兼容 easycom 模式,不和应用自身的 cXxx 组件冲突,把 cXxx 改名为 ucXxx

This commit is contained in:
Luk Lu
2020-06-19 09:58:16 +08:00
parent 32f1c753d0
commit ff7dc3ce3a
25 changed files with 6 additions and 4 deletions

View File

@@ -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(){