-
语法使用错误
data() {
return {
}
}
成
data() {}
-
关键字写错
引用类型 r e f s 写 成 refs写成 refs写成ref
(少写一个字母 或者 写错)
Vue.prototype.$message = Message; //把Vue写成this
下图token是在data.data里 而我一直在data取 自然出错
语法使用错误
data() {
return {
}
}
成
data() {
}
关键字写错
引用类型
r
e
f
s
写
成
refs写成
refs写成ref
(少写一个字母 或者 写错)
Vue.prototype.$message = Message; //把Vue写成this
下图token是在data.data里 而我一直在data取 自然出错