From c5c335f524297e09800c0ef8677b768ea2840586 Mon Sep 17 00:00:00 2001 From: catiwang <150760603+catiwang@users.noreply.github.com> Date: Mon, 29 Jan 2024 10:23:54 +0800 Subject: [PATCH] fix(cascader): listening value (#2578) --- src/cascader/cascader.ts | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/cascader/cascader.ts b/src/cascader/cascader.ts index 767c739a3..ac2f008cf 100644 --- a/src/cascader/cascader.ts +++ b/src/cascader/cascader.ts @@ -50,6 +50,11 @@ export default class Cascader extends SuperComponent { this.initWithValue(); } }, + + value() { + this.initWithValue(); + }, + 'selectedIndexes, options'() { const { options, selectedIndexes, keys } = this.data; const selectedValue = [];