UNPKG
yongjiu_vue_editor_common
Version:
latest (1.0.1)
1.0.1
1.0.0
vue网页编辑器公共代码
github.com/lljj-x/vue-json-schema-form
lljj-x/vue-json-schema-form
yongjiu_vue_editor_common
/
utils
/
obj.js
13 lines
(11 loc)
•
259 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
9
10
11
12
13
/** * Created by Liu.Jun on 2020/11/22 9:48 下午. */
export
function
isEmptyObject
(
obj
) {
for
(
const
key
in
obj) {
if
(
Object
.
prototype
.
hasOwnProperty
.
call
(obj, key)) {
return
false
; } }
return
true
; }