mirror of
https://gitee.com/vant-contrib/vant.git
synced 2025-04-06 03:57:59 +08:00
feat(Sku): prop initialSku can be set dynamically (#4214)
This commit is contained in:
parent
63d21240e7
commit
f630b2f6d2
@ -107,7 +107,12 @@ export default createComponent({
|
|||||||
this.show = val;
|
this.show = val;
|
||||||
},
|
},
|
||||||
|
|
||||||
skuTree: 'resetSelectedSku'
|
skuTree: 'resetSelectedSku',
|
||||||
|
|
||||||
|
initialSku() {
|
||||||
|
this.resetStepper();
|
||||||
|
this.resetSelectedSku(this.skuTree);
|
||||||
|
},
|
||||||
},
|
},
|
||||||
|
|
||||||
computed: {
|
computed: {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user