From 0306b8669ee170ceca64b94efcc929c6bca34cea Mon Sep 17 00:00:00 2001 From: zhangdaiscott Date: Wed, 5 Apr 2023 11:51:09 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E4=B8=80=E7=B3=BB=E5=88=97bu?= =?UTF-8?q?g=20[issue/289]=E6=96=B0=E5=A2=9E=E9=80=9A=E7=9F=A5=E5=85=AC?= =?UTF-8?q?=E5=91=8A=E6=8F=90=E4=BA=A4=E6=8C=87=E5=AE=9A=E7=94=A8=E6=88=B7?= =?UTF-8?q?=E5=8F=82=E6=95=B0=E6=9C=89undefined=20[issue/382]=E7=9C=81?= =?UTF-8?q?=E5=B8=82=E5=8C=BA=E7=BB=84=E4=BB=B6JAreaLinkage=E6=95=B0?= =?UTF-8?q?=E6=8D=AE=E4=B8=8D=E5=9B=9E=E6=98=BE=20[issue/397]=E5=9C=A8?= =?UTF-8?q?=E8=A1=A8=E5=8D=95=E4=B8=AD=E4=BD=BF=E7=94=A8v-model:value?= =?UTF-8?q?=E7=BB=91=E5=AE=9AJSelectDept=E7=BB=84=E4=BB=B6=E6=97=B6?= =?UTF-8?q?=E6=97=A0=E6=B3=95=E6=B8=85=E9=99=A4=E5=B7=B2=E9=80=89=E6=8B=A9?= =?UTF-8?q?=E7=9A=84=E6=95=B0=E6=8D=AE=20[issue/286]=E4=B8=8B=E6=8B=89?= =?UTF-8?q?=E6=90=9C=E7=B4=A2=E6=A1=86=E9=97=AE=E9=A2=98=20[issue/426]?= =?UTF-8?q?=E5=BC=95=E5=85=A5=E7=9A=84=E5=9B=9E=E5=BD=92=E9=94=99=E8=AF=AF?= =?UTF-8?q?=20JPopupOnlReportModal.vue=20=E4=B8=AD=E6=9C=AA=E4=BF=AE?= =?UTF-8?q?=E6=94=B9=20[issue/429]=E6=A0=91=E6=90=9C=E7=B4=A2=E7=82=B9?= =?UTF-8?q?=E5=87=BB=E4=BA=8B=E4=BB=B6=E5=A4=B1=E6=95=88=20=E3=80=90issues?= =?UTF-8?q?/394=E3=80=91=E6=89=80=E5=B1=9E=E9=83=A8=E9=97=A8=E6=A0=91?= =?UTF-8?q?=E6=93=8D=E4=BD=9C=E5=85=A8=E9=83=A8=E5=8B=BE=E9=80=89=E4=B8=8D?= =?UTF-8?q?=E7=94=9F=E6=95=88/=E3=80=90issues/4646=E3=80=91=E9=83=A8?= =?UTF-8?q?=E9=97=A8=E5=85=A8=E9=83=A8=E5=8B=BE=E9=80=89=E5=90=8E=EF=BC=8C?= =?UTF-8?q?=E7=82=B9=E5=87=BB=E7=A1=AE=E8=AE=A4=E6=8C=89=E9=92=AE=EF=BC=8C?= =?UTF-8?q?=E9=83=A8=E9=97=A8=E4=BF=A1=E6=81=AF=E4=B8=A2=E5=A4=B1=20?= =?UTF-8?q?=E3=80=90issues/424=E3=80=91=E5=BC=80=E5=90=AF=E5=8F=B3?= =?UTF-8?q?=E4=BE=A7=E5=88=97=E8=A1=A8=E5=90=8E=EF=BC=8C=E5=9C=A8=E5=8F=B3?= =?UTF-8?q?=E4=BE=A7=E5=88=97=E8=A1=A8=E4=B8=AD=E5=88=A0=E9=99=A4=E7=94=A8?= =?UTF-8?q?=E6=88=B7=E6=97=B6=EF=BC=8C=E9=80=BB=E8=BE=91=E6=9C=89=E9=97=AE?= =?UTF-8?q?=E9=A2=98=20=E3=80=90issues/4507=E3=80=91JDictSelectTag?= =?UTF-8?q?=E7=BB=84=E4=BB=B6=E4=BD=BF=E7=94=A8=E6=97=B6=EF=BC=8C=E6=B5=8F?= =?UTF-8?q?=E8=A7=88=E5=99=A8=E7=BB=99=E5=87=BA=E8=AD=A6=E5=91=8A=E6=8F=90?= =?UTF-8?q?=E7=A4=BA=EF=BC=9AExpected=20Function,=20got=20Array?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/jeecg/components/JDictSelectTag.vue | 6 ++++- .../src/jeecg/components/JSearchSelect.vue | 5 ++++ .../components/modal/JPopupOnlReportModal.vue | 2 +- .../Form/src/jeecg/hooks/useSelectBiz.ts | 6 +++-- .../Form/src/jeecg/hooks/useTreeBiz.ts | 25 ++++++++++++++++++- src/components/Form/src/utils/Area.ts | 12 ++++++--- src/components/Tree/src/BasicTree.vue | 8 +++--- .../jeecg/OnLine/hooks/usePopBiz.ts | 23 +++++++++++++++-- src/views/system/notice/NoticeModal.vue | 8 +++++- 9 files changed, 80 insertions(+), 15 deletions(-) diff --git a/src/components/Form/src/jeecg/components/JDictSelectTag.vue b/src/components/Form/src/jeecg/components/JDictSelectTag.vue index a833c26..5feddd0 100644 --- a/src/components/Form/src/jeecg/components/JDictSelectTag.vue +++ b/src/components/Form/src/jeecg/components/JDictSelectTag.vue @@ -81,7 +81,7 @@ required: false, }, }, - emits: ['options-change', 'change'], + emits: ['options-change', 'change','update:value'], setup(props, { emit, refs }) { const dictOptions = ref([]); const attrs = useAttrs(); @@ -164,6 +164,10 @@ changeValue = e?.target?.value ?? e; } state.value = changeValue; + + //update-begin---author:wangshuai ---date:20230403 for:【issues/4507】JDictSelectTag组件使用时,浏览器给出警告提示:Expected Function, got Array------------ + emit('update:value',changeValue) + //update-end---author:wangshuai ---date:20230403 for:【issues/4507】JDictSelectTag组件使用时,浏览器给出警告提示:Expected Function, got Array述------------ //update-end---author:wangshuai ---date:20230216 for:[QQYUN-4290]公文发文:选择机关代字报错,是因为值改变触发了change事件三次,导致数据发生改变------------ // nextTick(() => formItemContext.onFieldChange()); diff --git a/src/components/Form/src/jeecg/components/JSearchSelect.vue b/src/components/Form/src/jeecg/components/JSearchSelect.vue index 8a46827..6cdb2f4 100644 --- a/src/components/Form/src/jeecg/components/JSearchSelect.vue +++ b/src/components/Form/src/jeecg/components/JSearchSelect.vue @@ -29,6 +29,7 @@ :placeholder="placeholder" :filterOption="filterOption" :notFoundContent="loading ? undefined : null" + :dropdownAlign="{overflow: {adjustY: adjustY }}" @change="handleChange" >