Vuex gets the status value, but assigning it to data, doesn't work.


Mar.23,2021

it seems that the newAuthor method in methods did not call


how is this written? Since you want to get the value of author, just

author () {
    return this.$store.state.author
}
Just

, why bother to use author1 to transfer
suspected that mouted was triggered before setAuthor, so did not get the value

that's it + 1

author (author) {
    // 
    this.[](author)
    return this.$store.state.author
}
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-49e4bb3-12812.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-49e4bb3-12812.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?