feat: update build issues
All checks were successful
build quyun / Build (push) Successful in 4m5s

This commit is contained in:
2025-08-11 15:41:14 +08:00
parent 73fdd5472f
commit 9ad60e8925
2 changed files with 2 additions and 2 deletions

View File

@@ -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;
}

View File

@@ -48,7 +48,7 @@ export default defineConfig({
},
terserOptions: {
compress: {
// drop_console: true,
drop_console: true,
drop_debugger: true,
}
}