diff --git a/index.js b/index.js index faec331..63f5f44 100644 --- a/index.js +++ b/index.js @@ -58,7 +58,7 @@ module.exports = { return thisPage.i18nText[thisPage.$store.state.i18n.mylang] }, - // setBarTitles 迁移到 unip.i18n 库,通过 this.$store.commit('i18n/setBarTitles') 来调用 + // setBarTitles 迁移到 user.i18n.uniapp 库,通过 this.$store.commit('i18n/setBarTitles') 来调用 // setBarTitles({ windowTitle, pageTitle } = {}) { // let page = getCurrentPages()[getCurrentPages().length - 1] // uni.setNavigationBarTitle({ title: pageTitle || page.i18nText[page.$store.state.i18n.mylang].tPageTitle }) diff --git a/package.json b/package.json index acaeecc..06acd9f 100644 --- a/package.json +++ b/package.json @@ -1,5 +1,5 @@ { - "name": "unip.tool", + "name": "user.tool.uniapp", "version": "1.0.0", "description": "uniapp people side tools", "main": "index.js", @@ -8,7 +8,7 @@ }, "repository": { "type": "git", - "url": "https://git.faronear.org/npm/unip.tool.git" + "url": "https://git.faronear.org/npm/user.tool.uniapp.git" }, "author": "", "license": "ISC"