摘要: this指的是方法下的所有参数 handleDelete(record){ this.XXX.AAA (这个this.XXX指的是handleDelete这个方法的所有参数) (let self = this.XXX;) (let self = this.XXX;) onOk(){ this.XXX 阅读全文
posted @ 2017-10-27 17:18 小白兔奶糖 阅读(1024) 评论(0) 推荐(0)
摘要: fetch(config.host+"url",{ method:"POST", mode: 'cors',跨域请求 headers: { 'Content-Type': 'application/json' }, body:JSON.stringify({ 'id' : 'XXX' }) }).t 阅读全文
posted @ 2017-10-27 17:01 小白兔奶糖 阅读(23318) 评论(0) 推荐(0)