1
0
mirror of https://gitee.com/vant-contrib/vant.git synced 2025-04-06 03:57:59 +08:00

fix(Area): should expose getValues method

This commit is contained in:
chenjiahan 2021-01-08 17:30:25 +08:00
parent dd141c3c06
commit 03c7b46b04

@ -273,7 +273,7 @@ export default createComponent({
}
);
useExpose({ reset, getArea });
useExpose({ reset, getArea, getValues });
return () => {
const columns = state.columns.slice(0, +props.columnsNum);