feat: 屏蔽新增的接口

This commit is contained in:
fofolee 2022-01-04 22:11:58 +08:00
parent e36963aead
commit 9927d2f8d3

View File

@ -465,9 +465,16 @@ let modWindowHeight = height => {
// 屏蔽危险函数
getuToolsLite = () => {
var utoolsLite = Object.assign({}, utools)
// 数据库相关接口
delete utoolsLite.db
delete utoolsLite.dbStorage
delete utoolsLite.removeFeature
delete utoolsLite.setFeature
// 支付相关接口
delete utoolsLite.fetchUserServerTemporaryToken
delete utoolsLite.getUser
delete utoolsLite.openPayment
delete utoolsLite.fetchUserPayments
return utoolsLite
}