How to write vue.js watch listeners in decorative mode?

clipboard.png
because listening is an object, it is less common.
how should the code in the red box in the picture be written in vue-property-decorator mode? Thank you!
@ Watch ("columns", {deep:true})
onColumns () {

this.cloneColumns=this.makeColumns()

} is this correct?

Nov.29,2021

https://github.com/kaorun343/.

Brothers don't read the documents?

Menu