fix: 调整充值页面生命周期
parent
fee16f8471
commit
66e4d6ee54
|
@ -1,6 +1,6 @@
|
|||
|
||||
let domain = 'http://api.cyywl.top'
|
||||
// let domain = 'http://192.168.1.188:48080'
|
||||
// let domain = 'http://192.168.1.147:48080'
|
||||
|
||||
module.exports = {
|
||||
// 请求域名 格式: https://您的域名
|
||||
|
@ -8,7 +8,7 @@ module.exports = {
|
|||
HTTP_REQUEST_URL: domain,
|
||||
// #endif
|
||||
HTTP_ADMIN_URL:'http://api.cyywl.top', //PC后台的API请求地址,上传图片用
|
||||
// HTTP_ADMIN_URL:'http://192.168.1.188:48080', //PC后台的API请求地址,上传图片用
|
||||
// HTTP_ADMIN_URL:'http://192.168.1.147:48080', //PC后台的API请求地址,上传图片用
|
||||
// #ifdef H5
|
||||
//H5接口是浏览器地址
|
||||
// HTTP_REQUEST_URL: window.location.protocol+"//"+window.location.host,
|
||||
|
|
|
@ -97,7 +97,7 @@
|
|||
};
|
||||
},
|
||||
|
||||
async onLoad() {
|
||||
async onShow() {
|
||||
try{
|
||||
uni.showLoading({
|
||||
title: '加载中',
|
||||
|
|
|
@ -99,7 +99,7 @@
|
|||
};
|
||||
},
|
||||
computed: mapGetters(['userInfo']),
|
||||
async onLoad() {
|
||||
async onShow() {
|
||||
const resful = await memberGradeInfo()
|
||||
if(resful.data.some((item) => !!parseInt(item.isExist))){
|
||||
uni.setTabBarItem({
|
||||
|
|
|
@ -77,6 +77,7 @@
|
|||
quality: 0.95,
|
||||
cacheBust: true
|
||||
});
|
||||
console.log('i', i)
|
||||
}
|
||||
htmlToImage.toPng(document.getElementById('poster-wrap'), {
|
||||
quality: 0.95,
|
||||
|
|
Loading…
Reference in New Issue