perf: 废弃模块增加 Warning

main
LiaoYijun 3 months ago
parent 82abf5402a
commit f8e9082ae0

@ -1,3 +1,5 @@
console.warn('Warning: `commons.js` is deprecated and will be removed in next version.');
export function copy(obj) {
return JSON.parse(JSON.stringify(obj));
}

@ -1,3 +1,5 @@
console.warn('Warning: `lifecycle.js` is deprecated and will be removed in next version.');
const initListener = []
const authListener = []

@ -1,6 +1,8 @@
import { BUILD_VERSION } from '@/config'
console.warn('Warning: `request.js` is deprecated and will be removed in next version.');
const customHeaders = []
// 添加 HTTP Reuqest 自定义头部

Loading…
Cancel
Save