mounted:function () { var that = this; $.ajax({ type:"GET", url:"/trade_data", data:{type:$_GET['type'],ext:$_GET['ext']}, dataType:"json", success: function(result) { that.info_in=result.in; that.info_out=result.out; } }) } 怎么让它每5秒调用一次
波斯汪
相关分类