UNI-APP自用模板,可随意修改 let form={ user:1, password:111 } this.$api.login(form).then(res => { console.log(res) });