结构调整

This commit is contained in:
fofolee
2022-04-08 10:26:32 +08:00
parent 001897ad48
commit cfd7f2f884
12 changed files with 23 additions and 12 deletions

View File

@@ -1,11 +1,10 @@
/**
* 阉割utools同时返回一个满血版的UTOOLS
* 防止输出html输出时通过script标签调用utools执行危险函数
*/
*/
// 禁用危险函数
let whole = window.utools
if (!utools.isDev()) window.utools = window.getuToolsLite()
// 数据库前缀
const DBPRE = {
@@ -47,5 +46,5 @@ export default {
putDB,
delDB,
getDocs,
DBPRE
DBPRE,
}