@@ -15,7 +15,7 @@
"scripts": {
"dev": "vite",
"start": "npm run dev",
- "build": "vue-tsc --noEmit && vite build",
+ "build:prod": "vue-tsc --noEmit && vite build",
"build:dev": "vue-tsc --noEmit && vite build --mode development",
"serve": "vite preview",
"lint": "eslint --ext .js,.jsx,.vue,.ts,.tsx src",
@@ -114,7 +114,7 @@ export default defineComponent({
'#/order-detail?orderNo=' +
paymentConfig.orderNo +
'&config=' +
- JSON.stringify(paymentConfig.paymentConfig);
+ encodeURIComponent(JSON.stringify(paymentConfig.paymentConfig));
console.log('🚀 ~ url:', url);
postMessage({
api: 'openWebView',