打印数据屏蔽
This commit is contained in:
parent
121cff7c2b
commit
9c2c31e4b7
|
@ -56,6 +56,7 @@ VMdPreview.use(githubTheme, {
|
|||
});
|
||||
|
||||
(function () {
|
||||
//!['development', 'mock'].includes(process.env.NODE_ENV)&&
|
||||
if (import.meta.env.VITE_SHOW_DEV_TOOLS==='false') {
|
||||
['log', 'warn', 'error', 'info'].forEach((item) => {
|
||||
console[item] = (function (func) {
|
||||
|
|
Loading…
Reference in New Issue