This commit is contained in:
@@ -138,7 +138,7 @@ const handleBuy = async () => {
|
|||||||
} catch (error) {
|
} catch (error) {
|
||||||
console.error("Failed to initiate payment:", error);
|
console.error("Failed to initiate payment:", error);
|
||||||
// alert("发起支付失败,请稍后重试");
|
// alert("发起支付失败,请稍后重试");
|
||||||
alert(error.response?.data?.message || "发起支付失败,请稍后重试");
|
alert(error.response?.data || "发起支付失败,请稍后重试");
|
||||||
} finally {
|
} finally {
|
||||||
buying.value = false;
|
buying.value = false;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -48,7 +48,7 @@ export default defineConfig({
|
|||||||
},
|
},
|
||||||
terserOptions: {
|
terserOptions: {
|
||||||
compress: {
|
compress: {
|
||||||
// drop_console: true,
|
drop_console: true,
|
||||||
drop_debugger: true,
|
drop_debugger: true,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user