/*Vue常用读取后台接口方法________________________*/ 
let params = {
参数名: "参数值",
};
this.$axios
.get("接口路径", { params: params })
.then((r) => {
r = r.data;
if (r.status === "SUCCESS") {
r = r.data;
if (r) {
/*这里写代码*/
/* this.items = r;*/
}
} else {
console.log(
"%c报错信息",
"background:red;color:white;padding:5px;border-radius:4px;",
r.message
);
}
})
.catch((e) => {
console.log("【接口报错】", e);
});