In vue, how to take the state of vuex and calculate it in created

clipboard.png
report navIdx is not defined"s error in this way

Dec.17,2021

this.navIdx


use this.navIdx , this value is


navIdx is used as a variable when it is directly used on the current Vue instance, but yours is an attribute set by new Vue, so it will cause an error and change it to this.navIdx

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