添加注释,删除无用代码

This commit is contained in:
mabo
2021-05-13 18:09:36 +08:00
parent 967e673647
commit a2752a731d
122 changed files with 868 additions and 1185 deletions

View File

@@ -214,7 +214,7 @@ export default {
},
data() {
return {
tophotShopsColumns: [
tophotShopsColumns: [ // 表格表头
{
type: "index",
width: 100,
@@ -276,11 +276,10 @@ export default {
topHotGoodsData: [], //热卖商品集合
topHotShopsData: [], //热卖店铺集合
awaitTodoData: "", //今日待办集合
homeData: "",
username: "",
pvChart: "",
orderChart: "",
params: {
homeData: "", // 首页数据
pvChart: "", // 流量统计
orderChart: "", // 订单统计
params: { // 请求参数
searchType: "LAST_SEVEN",
},
// 订单传参
@@ -470,10 +469,6 @@ export default {
// 初始化信息
init() {
if (Cookies.get("userInfo")) {
let userInfo = JSON.parse(Cookies.get("userInfo"));
this.username = userInfo.username;
}
this.toHotGoods();
this.topHotShops();
this.awaitTodo();

View File

@@ -42,11 +42,10 @@ export default {
name: "show",
data() {
return {
loading: false,
go: "",
url: "",
html: "",
height: "525px"
loading: false, // 加载状态
go: "", // 跳转地址
url: "", // 链接地址
height: "525px" // iframe高度
};
},
computed: {
@@ -66,7 +65,6 @@ export default {
}
},
handleGo() {
let url = this.url;
this.go = this.url;
},
handleOpen() {