diff --git a/jeecgboot-vue3/src/components/Form/src/jeecg/components/JSelectRole.vue b/jeecgboot-vue3/src/components/Form/src/jeecg/components/JSelectRole.vue index e3e59137..0d3c7518 100644 --- a/jeecgboot-vue3/src/components/Form/src/jeecg/components/JSelectRole.vue +++ b/jeecgboot-vue3/src/components/Form/src/jeecg/components/JSelectRole.vue @@ -41,7 +41,7 @@ default: () => {}, }, }, - emits: ['options-change', 'change'], + emits: ['options-change', 'change', 'update:value'], setup(props, { emit, refs }) { const emitData = ref(); //注册model @@ -118,6 +118,9 @@ //emitData.value = values.join(","); state.value = values; selectValues.value = values; + // update-begin--author:liaozhiyang---date:20250318---for:【issues/7948】修复JselectRole组件不支持双向绑定 + emit('update:value', values); + // update-end--author:liaozhiyang---date:20250318---for:【issues/7948】修复JselectRole组件不支持双向绑定 } const getBindValue = Object.assign({}, unref(props), unref(attrs)); return {