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