Slot-scope named slot to get the object parameters of the table
In the .vue component, if you want to get the data corresponding to a certain column of this row in the table in a certain row of the table, you need to use slot-scope to name the slot. When you first write slot-scope, the following error will occur:
This is because the using eslint-plugin-vue is checked by default in our Vetur spread, we need to check it and uncheck it as shown below:
After canceling, the red wavy line under the slot-scope will disappear.