You can't use vue data directly in js?

clipboard.png

//
addPermission:function(){
    this.$validator.validateAll().then((result) => {
        //
        if(result){
            var finalPath = this.new_path1 + ":" + this.new_path2;
            console.log(finalPath); //underfine
        }
    })
}
I put the

question in the code comments.


whether new_path1 and new_path2? are written in data


whether the variable name is misspelled, new_path1 or new_pach1?


/ / when you click the OK button
addPermission:function () {

var that = this;
that.$validator.validateAll().then((result) => {
    //
    if(result){
        var finalPath = that.new_path1 + ":" + that.new_path2;
        console.log(finalPath); //underfine
    }
})

}

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