对于您的代码,vue.js试图moment()从其范围访问该方法。 因此,您应该使用如下方法: methods: { moment: function ... 很简单,但是您无法在VS代码中进行类型识别。
確定! 回上一頁