resolver-egretimp-plus 0.1.66 → 0.1.67
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.
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ElSelect, ElOption } from 'element-plus'
|
|
2
2
|
import { computed, inject, onMounted, watch} from 'vue'
|
|
3
|
-
import { commonPropsType, isArray, isNumber, isPlainObject, isString, VALUE_TYPES } from '../../utils/index.js'
|
|
3
|
+
import { commonPropsType, hasOwn, isArray, isNumber, isPlainObject, isString, VALUE_TYPES } from '../../utils/index.js'
|
|
4
4
|
|
|
5
5
|
export default {
|
|
6
6
|
inheritAttrs: false,
|
|
@@ -84,6 +84,10 @@ export default {
|
|
|
84
84
|
const value = computed({
|
|
85
85
|
get() {
|
|
86
86
|
if (isMutiple.value) {
|
|
87
|
+
if (hasOwn(props.config, 'isMatch')) {
|
|
88
|
+
// 如果是多选情况,不需要使用isMatch进行判断,所以这里需要进行清除
|
|
89
|
+
props.config.isMatch = true
|
|
90
|
+
}
|
|
87
91
|
const val = modelValue.value || ''
|
|
88
92
|
return val ?
|
|
89
93
|
(
|