Explorar el Código

feat: 支付提示信息

ageer hace 1 mes
padre
commit
52b00b7f0a
Se han modificado 1 ficheros con 4 adiciones y 3 borrados
  1. 4 3
      src/components/common/PromptStore/index.vue

+ 4 - 3
src/components/common/PromptStore/index.vue

@@ -70,6 +70,8 @@ let intervalId: string | number | NodeJS.Timer | undefined;
 
 // 获取支付二维码
 async function getPayUrl(money: string, name: string) {
+	message.success('本系统仅用于演示,暂不支持此功能!')
+	return;
 	showMeVisible.value = true;
 	const response = await payUrl({ money: money, name: name });
 	imageUrl.value = response.data.url;
@@ -81,9 +83,8 @@ async function getPayUrl(money: string, name: string) {
 
 // 跳转到支付地址
 async function getPayUrl1(money: string, name: string) {
-	if(loading.value) {
-		return
-	}
+	message.success('本系统仅用于演示,暂不支持此功能!')
+	return;
 	loading.value = true
 	const [err, result] = await to(getSPayUrl({ money: money, name: name }));
 	if (err) {