feat:还原更新框架

This commit is contained in:
2026-07-23 14:49:48 +08:00
parent d5a6a16ea5
commit 75c7434f79
529 changed files with 43714 additions and 68201 deletions
+1 -8
View File
@@ -237,13 +237,6 @@ export function object(value) {
return Object.prototype.toString.call(value) === '[object Object]'
}
/**
* 是否是Promise对象
*/
export function objectPromise(value) {
return Object.prototype.toString.call(value) === '[object Promise]';
}
/**
* 是否短信验证码
*/
@@ -264,7 +257,7 @@ export function func(value) {
* @param {Object} value
*/
export function promise(value) {
return objectPromise(value) && func(value.then) && func(value.catch)
return object(value) && func(value.then) && func(value.catch)
}
/** 是否图片格式