feat:修改活动直播任务签到时间

This commit is contained in:
lixg
2023-01-12 17:42:43 +08:00
parent 9a7c90af8d
commit d362e2a258
7 changed files with 812 additions and 719 deletions

View File

@@ -56,18 +56,17 @@ export default {
const closePage = (value) => {
console.log("点击关闭页面", value, state.openList);
state.openList.map((item, key) => {
if (item.href === value.href) {
if (state.openList.length === 1) {
if (state.openList[0].href !== "/learningpath") {
state.openList.splice(key, 1);
$router.push({ path: "/learningpath" });
}else{
} else {
message.destroy();
return message.warning("至少保留一个页面");
}
} else {
if (value.active) {
if (key === state.openList.length - 1) {
@@ -117,7 +116,6 @@ export default {
.close {
width: 50px;
height: 50px;
position: absolute;
display: flex;