fix(物联网): 每次进入工作台刷新菜单、视频列表添加为空状态
This commit is contained in:
parent
4b0c8a411f
commit
a1f0f0db02
|
@ -2,8 +2,8 @@
|
|||
"name" : "物联网可视化",
|
||||
"appid" : "__UNI__604B8F1",
|
||||
"description" : "",
|
||||
"versionName" : "1.0.31",
|
||||
"versionCode" : 1031,
|
||||
"versionName" : "1.0.32",
|
||||
"versionCode" : 1032,
|
||||
"transformPx" : false,
|
||||
/* 5+App特有相关 */
|
||||
"app-plus" : {
|
||||
|
|
|
@ -108,11 +108,12 @@
|
|||
}
|
||||
})
|
||||
this.getUserInfo();
|
||||
this.getUserMenu();
|
||||
|
||||
this.tabIndex = 1;
|
||||
this.tabIndex = 0;
|
||||
},
|
||||
onShow() {
|
||||
this.getUserMenu();
|
||||
this.getUnreadNewNum();
|
||||
},
|
||||
mounted() {
|
||||
|
|
|
@ -129,7 +129,7 @@
|
|||
this.$api.videoApi.getVideoList(params).then(res => {
|
||||
console.log("getVideoList",res);
|
||||
if(res.code === 0){
|
||||
let curPageData = res.data && res.data.list;
|
||||
let curPageData = res.data && res.data.list || [];
|
||||
let curPageLen = curPageData && curPageData.length || 0;
|
||||
let totalSize = res.data.totalCount;
|
||||
curPageData.forEach((item,index)=>{
|
||||
|
|
Loading…
Reference in New Issue