@@ -1,7 +1,7 @@ | |||
<!-- | |||
* @Date: 2022-01-19 10:08:26 | |||
* @LastEditors: JinxChen | |||
* @LastEditTime: 2023-04-08 15:01:55 | |||
* @LastEditTime: 2023-04-08 17:05:46 | |||
* @FilePath: \TelpoH5FrontendWeb\src\App.vue | |||
* @description: | |||
--> | |||
@@ -37,7 +37,7 @@ export default { | |||
}); | |||
}, | |||
debug() { | |||
if (process.env.NODE_ENV !== 'development') { | |||
if (process.env.NODE_ENV !== 'production') { | |||
const script = document.createElement('script'); | |||
script.src = "//cdn.jsdelivr.net/npm/eruda"; | |||
document.body.appendChild(script); | |||
@@ -1,7 +1,7 @@ | |||
<!-- | |||
* @Date: 2022-03-29 16:57:58 | |||
* @LastEditors: JinxChen | |||
* @LastEditTime: 2023-04-08 16:52:36 | |||
* @LastEditTime: 2023-04-08 17:07:51 | |||
* @FilePath: \TelpoH5FrontendWeb\src\views\package-list\index.vue | |||
* @description: TODO 小台风充值h5 | |||
--> | |||
@@ -190,6 +190,11 @@ export default { | |||
let code = url.split("&")[0]; | |||
if (isNotNull(code)) { | |||
this.getOpenId(code); | |||
} else { | |||
this.$dialog.confirm({ | |||
message: '系统错误,请重新进入', | |||
showCancelButton: false | |||
}) | |||
} | |||
} | |||
}, | |||