When the vetur plug-in for VSCODE formats vue, the stylus style is removed

now the goodsForm.vue form component uses the encapsulated m-select component (encapsulated element el-select), and the drop-down box style needs to be modified. Because the drop-down box style is inserted directly under the body, you need to write the global style.

The

vue documentation states that global styles and scoped native styles can be written in the same vue component, which is what I did in goodsForm.vue, but when formatted, the global styles are overwritten as scoped styles . The code is as follows

VSCODE formatting plugin settings

use the famous vetur plug-in to format the stylus configuration as follows

clipboard.png

shift+alt+f

clipboard.png
clipboard.png

The global style of promotion-select below < H2 > has been deleted directly! Copy it to the scoped style above! What the heck? < / H2 >

online solution

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1b3afe1-2c265.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1b3afe1-2c265.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?