0
Since by the look of it, it looks like the second parameter is an object, so one way of doing it, would be to invoke a function as the second parameter and passing your data inside self
as an argument. The function will then check if self.hyperlink_column
exists and then return an object accordingly. like this
PS : This is done using closure.
- [Vuejs]-How to initialize data in a Vue.js component from SQL query
- [Vuejs]-VueJS transitions not working without setTimeout
Source:stackexchange.com