Essay summary of slot function of Vue+element-ui background management system (2)

        Here we mainly give an example of the status of the user under user management and the slot function with fast operation, and the others are similar.

 

 

 You can use the template to use slots. As long as you use slot-scope="scope" in the template, you can get all the data of the attributes of this column. In actual use, you can output the scope in the control set to see what attributes are there. You can use it, and you can get it through scope.row.

Guess you like

Origin blog.csdn.net/weixin_46872121/article/details/122157323