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