Pārlūkot izejas kodu

取消 正式环境的debug按钮

增加 微信授权code为空弹窗提示
feat
JinxChen pirms 1 gada
vecāks
revīzija
a6a3ecbed9
2 mainītis faili ar 8 papildinājumiem un 3 dzēšanām
  1. +2
    -2
      src/App.vue
  2. +6
    -1
      src/views/package-list/index.vue

+ 2
- 2
src/App.vue Parādīt failu

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


+ 6
- 1
src/views/package-list/index.vue Parādīt failu

@@ -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
})
}
}
},


Notiek ielāde…
Atcelt
Saglabāt