|
|
@ -34,7 +34,7 @@ import walletModalSuccess from '../../components/wallet_modal_success.vue'; |
|
|
|
import rechargeModal from "./modules/recharge_modal.vue"; |
|
|
|
import { WALLET_API } from '../../js/api'; |
|
|
|
import servers from '../../js/server'; |
|
|
|
import { routeTo, showLoad, hideLoad, debounce, showModal } from '@/utils/util'; |
|
|
|
import { routeTo, showLoad, hideLoad, debounce, showModal, jsonStr } from '@/utils/util'; |
|
|
|
export default { |
|
|
|
components: { |
|
|
|
'wallet-info': walletInfo, |
|
|
@ -80,7 +80,7 @@ export default { |
|
|
|
}) |
|
|
|
}, 300, true), |
|
|
|
toWebView(){ |
|
|
|
routeTo(`/pages/web_view/web_view?src=${encodeURIComponent(this.getAdminAddress())}`,'nT'); |
|
|
|
routeTo(`/pages/web_view/web_view?src=${jsonStr(this.getAdminAddress())}`,'nT'); |
|
|
|
}, |
|
|
|
getAdminAddress(){ |
|
|
|
let _appid = uni.getAccountInfoSync()?.miniProgram?.appId || ''; |
|
|
|