因为把这个方法给写到了初始化里头,所以没有返回,也没有定义。
在created()中调用才没问题。不要写在mounted里面
Cannot read property 'then' of undefined(已解决)
猜你喜欢
转载自blog.csdn.net/qq_42970173/article/details/102719361
今日推荐
周排行