This commit is contained in:
陆柯 2022-04-02 20:09:38 +08:00
parent b919baab4b
commit 828b0d3a7d

View File

@ -154,7 +154,7 @@ export default {
}, },
relaunchForAll ({envi=this.envi || wo?.envi || {}} = {}) { relaunchForAll ({envi=this.envi || wo?.envi || {}} = {}) {
uni.switchTab({ url: envi?.relaunchForAll }) uni.reLaunch({ url: envi?.relaunchForAll })
}, },
relaunchForOnline ({envi=this.envi || wo?.envi || {}} = {}) { relaunchForOnline ({envi=this.envi || wo?.envi || {}} = {}) {
process.env.NODE_ENV === 'production' && wo.ss.User.onlineUser.uuid && uni.reLaunch({ url: envi?.StartPageForOnline }) process.env.NODE_ENV === 'production' && wo.ss.User.onlineUser.uuid && uni.reLaunch({ url: envi?.StartPageForOnline })