摘要: js的作用域与this 在发起http请求时容易用错,使用that区分 (在event handler中易用错,类似) new Vue({ data:{ cities:[...] }, methods:{ my_http_request:function(){ let that = this axi 阅读全文
posted @ 2021-07-22 17:20 Acezhang 阅读(374) 评论(0) 推荐(0) 编辑