Commit a848b264 authored by Harlan's avatar Harlan Committed by 杨奕

Table: fix column formatter not changed when new formatter is set (#10184)

parent 13000721
...@@ -389,6 +389,12 @@ export default { ...@@ -389,6 +389,12 @@ export default {
if (this.columnConfig) { if (this.columnConfig) {
this.columnConfig.index = newVal; this.columnConfig.index = newVal;
} }
},
formatter(newVal) {
if (this.columnConfig) {
this.columnConfig.formatter = newVal;
}
} }
}, },
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment