去掉本周,本月,本年

This commit is contained in:
daihh
2022-11-08 16:01:41 +08:00
parent ccb4c46293
commit 81c25f3045
2 changed files with 5 additions and 7 deletions

View File

@@ -53,9 +53,9 @@
</span>
<el-dropdown-menu slot="dropdown">
<el-dropdown-item command="total">累计</el-dropdown-item>
<el-dropdown-item command="weeks">本周</el-dropdown-item>
<!-- <el-dropdown-item command="weeks">本周</el-dropdown-item>
<el-dropdown-item command="months">本月</el-dropdown-item>
<el-dropdown-item command="years">本年</el-dropdown-item>
<el-dropdown-item command="years">本年</el-dropdown-item> -->
</el-dropdown-menu>
</el-dropdown>
</div>

View File

@@ -200,12 +200,10 @@ export default {
this.timer = null;
this.$router.go(-1);
}
}
}
}).catch(()=>{
this.isShowTip = '当前网络异常,内容已离线保存,请尝试连接网络后重新自动上传';
setTimeout(()=>{
this.isShowTip = '';
},10000 * 2)
this.isShowTip = '当前网络异常,内容已离线保存,请尝试连接网络后重新保存';
setTimeout(()=>{ this.isShowTip = ''; },10000 * 2)
sessionStorage.setItem('isShowTip',this.editdata.content);
})
}