大家好,又见面了,我是你们的朋友全栈君。
var app = new Vue({ el: '#app', data: { }, filters: { }, created: function () { setInterval(this.timer, 1000); }, methods: { timer: function () { console.log("time"); } }, watch: { }, computed: { } });
发布者:全栈程序员-站长,转载请注明出处:https://javaforall.net/160716.html原文链接:https://javaforall.net