How to insert the src of img tags in vue dynamically?

I print this.$store.state.portrait is valuable, but why doesn"t it show anything?

check that the tag has been loaded, but why not display it?
clipboard.png

<img :src="this.$store.state.portrait?"../assets/people.png":"../assets/people.png"" alt="">
Mar.22,2021

Variables in

bindings are not used in this way. The variables in
v-bind can simply write their names in data.
you can only write this way in the method.

use vuex, remove this, directly $store. Variable can be


Direct

https://codeshelper.com/q/10.

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