Using the vue-cli project of the iview framework, how to get the width? of the tag tag

how to get the width? of the tag tag using the vue-cli project of the iview framework
my method is:
let valTagDOMWid = this.$refs.tab_ tagged [Val] .width | | this.$refs.tab_ tagged [Val] .offsetWidth | | this.$refs.tab_ tagged [Val] .clientWidth;
v-for loop dynamically generates multiple tag,this.$refs.tab_tag to get an array of DOM objects of tag.
val is the incoming index value that gets the width of the tag tag element of the specified index value.
the result is that valTagDOMWid is undefined. Why?

Apr.02,2021

generate vDom and then get Vue.nextTick ()

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-1e98dec-1710.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-1e98dec-1710.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?