|
@@ -1,7 +1,7 @@ |
|
|
<!-- |
|
|
<!-- |
|
|
* @Date: 2022-01-19 10:08:26 |
|
|
* @Date: 2022-01-19 10:08:26 |
|
|
* @LastEditors: JinxChen |
|
|
* @LastEditors: JinxChen |
|
|
* @LastEditTime: 2023-04-06 10:20:06 |
|
|
|
|
|
|
|
|
* @LastEditTime: 2023-04-06 10:30:46 |
|
|
* @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' || process.env.NODE_ENV === 'test') { |
|
|
|
|
|
|
|
|
if (process.env.NODE_ENV !== 'production') { |
|
|
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); |
|
|