admin 管理员组

文章数量: 1086019


2024年3月29日发(作者:css多个图片放在一排)

default: true

},

isLast: {

type: Boolean,

default: true

},

fontSize: {

type: Number,

default: 13

},

expandDepth: {

type: Number,

default: 0

},

depth: {

type: Number,

default: 0

}

},

created() {

losed = ! ? : >= Depth

this.$watch('closed', () => {

losed =

})

},

data() {

return {

innerclosed: true

}

},

methods: {

isObjectOrArray(source) {

const type = (source)

const res = type === '[object Array]' || type === '[object Object]'

return res

},

toggleClose() {

if (losed) {

losed = false

} else {

losed = true

}

}

},

computed: {

isArray() {

return () === '[object Array]'

},

length() {

return y ? : ().length

},

subfix() {

return (y ? ']' : '}') + ( ? '' : ',')

},

prefix() {

return y ? '[' : '{'

},

items() {

if (y) {

return (item => {

const isJSON = ctOrArray(item)

return {

value: isJSON ? item : ify(item),

isJSON,

key: ''

}

})

}

const json =

return (json).map(key => {

const item = json[key]

const isJSON = ctOrArray(item)

return {

value: isJSON ? item : ify(item),

isJSON,

key

}

})

}

}

}