删除console日志打印

This commit is contained in:
吴季分
2025-10-14 09:16:08 +08:00
parent c6c815f0a5
commit 6ce5ab832b
2 changed files with 1 additions and 3 deletions

View File

@@ -4,7 +4,7 @@ module.exports = {
[
'transform-remove-console',
{
exclude: ['warn', 'error', 'log'] // 可选:保留 warn 和 error
exclude: ['warn', 'error'] // 可选:保留 warn 和 error
}
]
]

View File

@@ -75,7 +75,6 @@ export default {
const { header, sidebar } = this.$route.query
this.modelProvider.params.header = header || '0'
this.modelProvider.params.sidebar = sidebar || '0'
console.log('路由:' + `${DIFY_URL}/provider`)
// 当路由参数变化时,更新 dify 的 src
this.modelProvider.src = `${DIFY_URL}/provider}`
},
@@ -105,7 +104,6 @@ export default {
}
},
mounted() {
console.log('路由:' + `${DIFY_URL}/provider`)
// 组件挂载后立即获取token
this.initTokenRefresh()
}