fix: 🐛 should apply prop hooks when update props by prop()
method
This commit is contained in:
@ -253,7 +253,9 @@ export class Cell<
|
||||
if (typeof key === 'string') {
|
||||
this.store.set(key, value, options)
|
||||
} else {
|
||||
this.store.set(ObjectExt.merge({}, this.getProp(), key), value)
|
||||
const props = this.preprocess(key)
|
||||
this.store.set(ObjectExt.merge({}, this.getProp(), props), value)
|
||||
this.postprocess(key)
|
||||
}
|
||||
return this
|
||||
}
|
||||
|
Reference in New Issue
Block a user