Commit b13eff21 authored by xinzhedeai's avatar xinzhedeai

fix: 爱山东网管base64图片卡死问题处理

parent c5757270
......@@ -454,15 +454,9 @@ window.addEventListener('load', function () {
forbidClick: true,
loadingType: 'spinner',
});
http2.post({
serviceId: API_KEY_MAP["no-page"]['id'],
interfacePublicKey: API_KEY_MAP["no-page"]["publicKey"],
interfacePrivateKey: API_KEY_MAP["no-page"]["privateKey"],
reqParams: {
sign: 11,
"merId": gemhoUtil.getParameter('merId'),
}
}, (res) => {
http3.get(`/gq/merchant/${gemhoUtil.getParameter('merId')}`, {
}).then((res) => {
if (!res) { // 中台返回为undefined 重新请求
vant.Toast.clear()
setTimeout(() => {
......@@ -471,13 +465,13 @@ window.addEventListener('load', function () {
return
}
if (res) {
console.log('接口回调数据', JSON.parse(res))
console.log('接口回调数据', res)
setTimeout(() => {
this.$nextTick(() => {
vant.Toast.clear()
})
}, 0);
var result = JSON.parse(res)
var result = res
// 图片数据结构处理
let tempData = result.data
......@@ -493,19 +487,13 @@ window.addEventListener('load', function () {
this.formData = tempData
console.log('******详情********')
// setTimeout(()=>{
// this.formData.smallPlaceTypeName = "0"
// },1000)
// this.formData = {} // 表单赋值
// 这里添加跳转逻辑
const QR_IMAGE_URL = result.data.qrCodeUrl
this.qrCodeUrl = result.data.qrCodeUrl
}
})
},
// 新增选择确认方法
// onConfirmType(value) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment