@netang/quasar 0.1.47 → 0.1.48
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -184,6 +184,7 @@ import $n_isFunction from 'lodash/isFunction'
|
|
|
184
184
|
import $n_isNil from 'lodash/isNil'
|
|
185
185
|
|
|
186
186
|
import $n_isValidObject from '@netang/utils/isValidObject'
|
|
187
|
+
import $n_isValidArray from '@netang/utils/isValidArray'
|
|
187
188
|
import $n_isValidValue from '@netang/utils/isValidValue'
|
|
188
189
|
import $n_collection from '@netang/utils/collection'
|
|
189
190
|
|
|
@@ -420,6 +421,7 @@ export default {
|
|
|
420
421
|
if (
|
|
421
422
|
// 如果关闭选中第一个树节点
|
|
422
423
|
! props.treeSelectFirstNode
|
|
424
|
+
|| ! $n_isValidArray(val)
|
|
423
425
|
|| ! $n_isNil(treeSelected.value)
|
|
424
426
|
) {
|
|
425
427
|
// 则无任何操作
|