摘要: 前台 vue-resource请求接口 addCustomer(e){ if (!this.customer.name || !this.customer.phone || !this.customer.email) { // console.log('请添加对应信息'); this.alert = 阅读全文
posted @ 2020-01-30 17:26 ayong6 阅读(393) 评论(0) 推荐(0)
摘要: 前台调用接口出现两次请求解决办法 这里用 vue-resource说明 this.$http.post('http://localhost/phpcrud/app.php?action=create',{"username":this.customer.name,"phone":this.custo 阅读全文
posted @ 2020-01-30 16:17 ayong6 阅读(4867) 评论(0) 推荐(0)