resolver-egretimp-plus 0.1.65 → 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
|
@@ -229,7 +229,7 @@ export default {
|
|
|
229
229
|
definePrivatelyProp(config, 'dynamicMapComp', dynamicMapComp)
|
|
230
230
|
|
|
231
231
|
// 如果已经有dynamicHireRelat值的时候,就不需要再进行以下赋值了
|
|
232
|
-
if (config?.dynamicHireRelat_bak) {
|
|
232
|
+
if (config?.dynamicHireRelat_bak && props.mode !== 'operate') {
|
|
233
233
|
definePrivatelyProp(config, 'dynamicHireRelat', `${config.dynamicHireRelat_bak}__@__${props.mode}__`)
|
|
234
234
|
} else {
|
|
235
235
|
const dynamicHireRelat = parent?.dynamicHireRelat ? `${parent?.dynamicHireRelat}${hasOwn(config, 'rowIndex') ? `[${config.rowIndex}]` : ''}->${(config.metaCode || '')}` : config.metaCode
|
|
@@ -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
|
(
|