diff --git a/src/views/daxpay/common/channel/wechat/config/WechatPayConfigEdit.vue b/src/views/daxpay/common/channel/wechat/config/WechatPayConfigEdit.vue index c77784018..adc8f8f3a 100644 --- a/src/views/daxpay/common/channel/wechat/config/WechatPayConfigEdit.vue +++ b/src/views/daxpay/common/channel/wechat/config/WechatPayConfigEdit.vue @@ -31,11 +31,11 @@ placeholder="请输入微信应用AppId" /> - + diff --git a/src/views/daxpay/common/develop/auth/ChannelAuth.vue b/src/views/daxpay/common/develop/auth/ChannelAuth.vue index 549c448f2..ec5b1504a 100644 --- a/src/views/daxpay/common/develop/auth/ChannelAuth.vue +++ b/src/views/daxpay/common/develop/auth/ChannelAuth.vue @@ -38,6 +38,7 @@ placeholder="请选择对账通道" /> ({}) const authResult = ref({}) const authUrl = ref({ authUrl: '' }) + let loading = ref(false) let pause: any = () => {} onMounted(() => { @@ -138,7 +141,6 @@ */ function copy(value) { copyText(value) - createMessage.info('已复制到剪贴板中') } /** @@ -146,11 +148,17 @@ */ function getUrl() { pause() - createMessage.info('正在生成链接,请稍等.....') - generateAuthUrl(form.value).then((res) => { - authUrl.value = res.data - query() - }) + authResult.value = {} + loading.value = true + authUrl.value = {} + generateAuthUrl(form.value) + .then((res) => { + authUrl.value = res.data + query() + }) + .finally(() => { + loading.value = false + }) } /**