- The “created” property should be above the “methods” property on line
created为什么要写在methods上面尼 - 只有单个常量需要导出时有什么区别,2报了警告;
// 1
const t ='xx';
export default t
// 2
export const t = 'xx'
- 报错:原因,预处理器loader版本过高
Syntax Error: TypeError: this.getOptions is not a function