Skip to content

Commit a2c20b9

Browse files
committed
20190827
1 parent 3e37bf3 commit a2c20b9

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

src/components/EditableCell/cell.vue

+4-2
Original file line numberDiff line numberDiff line change
@@ -96,8 +96,10 @@
9696
decorator: {
9797
get() {
9898
if (this.decoratorOptions) {
99-
const newOptions = this.decoratorOptions;
100-
newOptions.initialValue = this.value;
99+
const newOptions = {
100+
initialValue: this.value,
101+
...this.decoratorOptions,
102+
};
101103
const itemDecorator = ['formName'];
102104
itemDecorator.push(newOptions);
103105
return itemDecorator;

0 commit comments

Comments
 (0)