Why aren't the styles defined in mounted () loaded?

problem description

defined style did not load successfully

the environmental background of the problems and what methods you have tried

expected effect:

id

of style style loaded successfully

related codes

/ / Please paste the code text below (do not replace the code with pictures)

 mounted(){
    $("-sharpselId").children("div").eq(0).children("div").css({"overflow":"hidden","text-overflow":"ellipsis"});

},

what result do you expect? What is the error message actually seen?

Nov.17,2021
The
dom action is placed in the $nextTick function

if it is dynamically output, do not use it in mounted to set it, because the relevant dom element was not found. After completing the ajax asynchronous request, use this.$nextTick, as follows:
this.$nextTick (() = > {$("- sharpselId"). Children ("div"). Eq (0). Children ("div"). Css ({"overflow": "hidden", "text-overflow": "ellipsis"});})


mounted(){
    this.$nextTick(() => {
        $("-sharpselId").children("div").eq(0).children("div").css({"overflow":"hidden","text-overflow":"ellipsis"});
    })
},
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-1e443de-437d4.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-1e443de-437d4.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?