今天涉及接口
1.前后端分离项目中前端如何调用后端接口?_ChaoticNg的博客-CSDN博客_前端怎么调用后端接口
2.在利用elmentUI写dialog时用到:visible.sync
:visible.sync 的作用_俊而不逊的博客-CSDN博客_visible.sync
3. vue之三种请求资源方式_一十四画生的博客-CSDN博客
在项目中用到的方法一,xxx(params).then(function(res){
if (res.data.code === 10000) {
that.regionData = res.data.data;
let data = res.data.data;
let arr = [];
data.forEach(function(item) {
arr.push(item.value);
});
that.comelist = arr;
} }); },
4.find查找
vue中的find()函数的用法与扩展用法_小学生也要加班的博客-CSDN博客_vue中find函数
5.vue 实现分页数据展示_melon__的博客-CSDN博客_vue获取数据并分页
一个比较详细的分页展示,可以和项目中的 dispatchscheme中的分页实现进行对比。
6.3分钟学会sessionStorage用法_肥基姆的博客-CSDN博客_sessionstorage
7.Vue中的var that=this;的含义_起个名字好难__的博客-CSDN博客_vue中that
让that始终指向this实例
8. 在vue+element-ui中,select选项值动态从后台获取,同时将选中值的id传给后台的方法_南极修炼千年的大冰块-CSDN博客_vue获取下拉框的值传给后端
跟项目中el-option拿到的数据方法略有不同。
9.this.$router.push的query传参与接收_不愿做码农的博客-CSDN博客
Vue中this.$router.push()路由跳转页面并传值最常见两种方式_Xin6Yang的博客-CSDN博客
path:路径 query:要携带的参数