From ed895d9d886edaef04069ed866869844651d3be7 Mon Sep 17 00:00:00 2001 From: zhangxu Date: Thu, 4 Sep 2025 20:33:34 +0800 Subject: [PATCH 1/2] =?UTF-8?q?=E4=BF=AE=E5=A4=8DCascader=E5=8A=A8?= =?UTF-8?q?=E6=80=81=E5=8A=A0=E8=BD=BD=E6=97=B6=EF=BC=8C=E5=A6=82=E6=9E=9C?= =?UTF-8?q?=E5=B1=82=E7=BA=A7=E5=80=BC=E4=B8=8D=E5=AD=98=E5=9C=A8parent?= =?UTF-8?q?=E4=B8=BA=E7=A9=BA=EF=BC=8C=E5=8A=A0=E8=BD=BD=E6=97=B6=E6=8A=A5?= =?UTF-8?q?=E9=94=99=EF=BC=8C=E4=BC=9A=E5=AF=BC=E8=87=B4=E6=98=BE=E7=A4=BA?= =?UTF-8?q?=E4=B8=BA=E7=A9=BA=E7=9A=84=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/packages/cascader/cascader.taro.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/packages/cascader/cascader.taro.tsx b/src/packages/cascader/cascader.taro.tsx index 5267433cc1..6f8d750e93 100644 --- a/src/packages/cascader/cascader.taro.tsx +++ b/src/packages/cascader/cascader.taro.tsx @@ -165,7 +165,7 @@ export const Cascader = forwardRef((props: Partial, ref) => { await innerValue.reduce(async (promise: Promise, val, key) => { const pane = await onLoad({ value: val }, key) const parent = await promise - parent.children = pane + if (parent) parent.children = pane if (key === innerValue.length - 1) { return Promise.resolve(parent) } From 7ddeab929c37bcf45996e52f65a950c430677d3c Mon Sep 17 00:00:00 2001 From: zhangxu Date: Thu, 4 Sep 2025 20:34:02 +0800 Subject: [PATCH 2/2] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E7=82=B9=E5=87=BB?= =?UTF-8?q?=E5=85=B3=E9=97=AD=E6=8C=89=E9=92=AE=E4=BC=9A=E5=87=BA=E7=8E=B0?= =?UTF-8?q?=E7=A9=BF=E9=80=8F=E7=9A=84=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/packages/popup/popup.taro.tsx | 1 + 1 file changed, 1 insertion(+) diff --git a/src/packages/popup/popup.taro.tsx b/src/packages/popup/popup.taro.tsx index 33b8ab1199..c1ec84e55b 100644 --- a/src/packages/popup/popup.taro.tsx +++ b/src/packages/popup/popup.taro.tsx @@ -169,6 +169,7 @@ export const Popup: FunctionComponent< } const handleCloseIconClick = (e: ITouchEvent) => { + e.stopPropagation() onCloseIconClick(e) && close() }