The undefined attribute cannot be read in vue. Replace (/ (.{ 4}) / gheroine 1')

error: rendering error: "TypeError: cannot read the undefined attribute "replace""

does this method need to be defined? how to define

Sep.01,2021
The specific situation of

depends on your code, but there is also a situation where there is an account field under the account object when you define it, that is, when you initialize the data, you need to define account: {account: "}


page. When rendering, use v-if to determine whether there is an account.account,. Example: < div VMI if = "account.account" > {{account.account.replace (/ (. {4} / g recording 1))}} < / div >

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