resolver-egretimp-plus 0.1.100 → 0.1.102
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
|
@@ -104,9 +104,9 @@ const initSelEmployee = async () => {
|
|
|
104
104
|
const data = modelValue.value ? modelValue.value.split(separator.value) : []
|
|
105
105
|
let deptForUser = {}
|
|
106
106
|
if (props.deptIds || props.excludeDeptIds) {
|
|
107
|
-
deptForUser.deptIds = isString(
|
|
108
|
-
deptForUser.excludeDeptIds = isString(
|
|
109
|
-
deptForUser.cascade = isBoolean(
|
|
107
|
+
deptForUser.deptIds = isString(props.deptIds) ? props.deptIds : ''
|
|
108
|
+
deptForUser.excludeDeptIds = isString(props.excludeDeptIds) ? props.excludeDeptIds : ''
|
|
109
|
+
deptForUser.cascade = isBoolean(props.cascade) ? props.cascade : !!(props.cascade)
|
|
110
110
|
}
|
|
111
111
|
const initParams = {
|
|
112
112
|
el: `#${metaCode.value}`,
|
|
@@ -130,7 +130,7 @@ const initSelEmployee = async () => {
|
|
|
130
130
|
if (props.disabled) {
|
|
131
131
|
initParams.userIds = data
|
|
132
132
|
}
|
|
133
|
-
console.log(
|
|
133
|
+
console.log(`metaCode:${props?.config?.metaCode},initParams:`, initParams)
|
|
134
134
|
initSelUser(initParams)
|
|
135
135
|
unWatch && unWatch()
|
|
136
136
|
}, {
|
package/src/utils/render.jsx
CHANGED
|
@@ -985,7 +985,7 @@ function createFormLable(config, lang = 'zh') {
|
|
|
985
985
|
onClick={() => config.onLabelClick && config.onLabelClick?.(config)}
|
|
986
986
|
>
|
|
987
987
|
{/* {required ? <span style="color: #f5222d; margin-right: 3px">*</span> : null} */}
|
|
988
|
-
{required ? '*' : null}
|
|
988
|
+
{/* {required ? '*' : null} */}
|
|
989
989
|
{lang.indexOf('zh') > -1 ? (config.labelZh || config.metaNameZh) : (config.labelEn || config.metaNameEn)}
|
|
990
990
|
</span>
|
|
991
991
|
{
|