|
@@ -277,9 +277,9 @@ function navItemClick(item) {
|
|
|
|
|
|
if (item.path.indexOf("http") != -1) {
|
|
|
if(item.path.indexOf("token") > 0){
|
|
|
- var name = JSON.parse(localStorage.getItem("storage_data"))?.data?.name
|
|
|
+ var name = uni.getStorageSync("storage_data").name
|
|
|
if(name){
|
|
|
- var params = {
|
|
|
+ var params = {
|
|
|
user:name,
|
|
|
time:new Date().getTime(),
|
|
|
form:"SAAS_mob"
|
|
@@ -288,7 +288,7 @@ function navItemClick(item) {
|
|
|
//#ifdef H5
|
|
|
window.open(`${item.path}=${encodeURIComponent(jm)}?urlF=https://manager.usky.cn/mobile/#/`)
|
|
|
//#endif
|
|
|
- //#ifdef APP-PLUS || MP-WEIXIN
|
|
|
+ //#ifdef APP-PLUS || MP-WEIXIN
|
|
|
uni.navigateTo({
|
|
|
url: `/pages/common/webview/index?url=${item.path}=${encodeURIComponent(jm)}?urlF=https://manager.usky.cn/mobile/#/`,
|
|
|
});
|