Small problem with page style in Element UI

First, modify the size of the component dialog window

Second, when I used the upload component to upload a beautiful picture, I found that when I previewed the picture, the picture was gray, and it only became brighter when I clicked it. This effect made me very uncomfortable, so I added the following style, The problem is solved (maybe because everyone's basic css style is different, this style may not apply to you)

Three: When using the table component in element ui, if you want to change the text color of the column value, you can use the following style

Four: When using the tree component, click on different child nodes to achieve different response events. First, declare the @node-click method in the tree tag, then add the type attribute to each node in data (data set in vue.js), and finally implement the node-click method in methods, by judging the difference in type values to achieve different actions.

There are three parameters in the @handle-click method, and the corresponding value is obtained through node.data.type and then judged.

 

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=324577180&siteId=291194637