摘要:
vue中和后台交互,首先要引用vue-resource.js vue-resource.js是专门和后台进行交互 <!-- 引入vue-resource插件 ><script src="../js/vueJs/vue-resource.js"></script> vue中get请求 function 阅读全文
摘要:
let url = 'http://www.phonegap100.com/appapi.php?a=getPortalList&catid=20&page=2';let params ={ params: { username: 'zhangSan', pwd: '123456' } } // g 阅读全文