瀏覽代碼

Merge branch 'merge-master'

master
JinxChen 2 年之前
父節點
當前提交
42eb16f2b6
共有 1 個檔案被更改,包括 2 行新增2 行删除
  1. +2
    -2
      src/App.vue

+ 2
- 2
src/App.vue 查看文件

@@ -1,7 +1,7 @@
<!-- <!--
* @Date: 2022-01-19 10:08:26 * @Date: 2022-01-19 10:08:26
* @LastEditors: JinxChen * @LastEditors: JinxChen
* @LastEditTime: 2023-03-30 18:29:20
* @LastEditTime: 2023-04-06 10:20:06
* @FilePath: \TelpoH5FrontendWeb\src\App.vue * @FilePath: \TelpoH5FrontendWeb\src\App.vue
* @description: * @description:
--> -->
@@ -37,7 +37,7 @@ export default {
}); });
}, },
debug() { debug() {
if (process.env.NODE_ENV !== 'production') {
if (process.env.NODE_ENV === 'production' || process.env.NODE_ENV === 'test') {
const script = document.createElement('script'); const script = document.createElement('script');
script.src = "//cdn.jsdelivr.net/npm/eruda"; script.src = "//cdn.jsdelivr.net/npm/eruda";
document.body.appendChild(script); document.body.appendChild(script);


Loading…
取消
儲存