修改打包方式

feature/payCenter-0709-ch
ch 2 years ago
parent 39f379875b
commit 874340f948

@ -13,8 +13,8 @@
"build:app-plus": "cross-env NODE_ENV=production UNI_PLATFORM=app-plus vue-cli-service uni-build",
"build:custom": "cross-env NODE_ENV=production uniapp-cli custom",
"build:h5-test": "cross-env NODE_ENV=production UNI_PLATFORM=h5 vue-cli-service uni-build --mode test",
"build:h5:bate": "cross-env NODE_ENV=production UNI_PLATFORM=h5 vue-cli-service uni-build --mode bate",
"build:h5:prod": "cross-env NODE_ENV=production UNI_PLATFORM=h5 vue-cli-service uni-build --mode prod",
"build:h5-bate": "cross-env NODE_ENV=production UNI_PLATFORM=h5 vue-cli-service uni-build --mode bate",
"build:h5-prod": "cross-env NODE_ENV=production UNI_PLATFORM=h5 vue-cli-service uni-build --mode prod",
"build:mp-360": "cross-env NODE_ENV=production UNI_PLATFORM=mp-360 vue-cli-service uni-build",
"build:mp-alipay": "cross-env NODE_ENV=production UNI_PLATFORM=mp-alipay vue-cli-service uni-build",
"build:mp-baidu": "cross-env NODE_ENV=production UNI_PLATFORM=mp-baidu vue-cli-service uni-build",

@ -2,7 +2,7 @@
* @Author: ch
* @Date: 2022-04-15 17:46:10
* @LastEditors: ch
* @LastEditTime: 2022-07-13 14:13:24
* @LastEditTime: 2022-07-13 17:18:01
* @Description: file content
-->
<template>
@ -138,7 +138,7 @@ export default {
// #ifdef H5
window.location.replace(result.wapCashierUrl)
window.location.href = result.wapCashierUrl;
// #endif
// #ifndef H5

@ -2,7 +2,7 @@
* @Author: ch
* @Date: 2022-03-22 10:58:24
* @LastEditors: ch
* @LastEditTime: 2022-07-13 14:12:17
* @LastEditTime: 2022-07-13 17:17:38
* @Description: file content
-->
<template>
@ -143,7 +143,7 @@ export default {
// #ifdef H5
window.location.replace(result.wapCashierUrl)
window.location.href = result.wapCashierUrl
// #endif
// #ifndef H5

Loading…
Cancel
Save