diff --git a/index.js b/index.js index ac584b3..81e6801 100644 --- a/index.js +++ b/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(){ diff --git a/cColorText/cColorText.vue b/ucColorText/ucColorText.vue similarity index 99% rename from cColorText/cColorText.vue rename to ucColorText/ucColorText.vue index ad4d174..3a89e93 100644 --- a/cColorText/cColorText.vue +++ b/ucColorText/ucColorText.vue @@ -1,6 +1,5 @@