mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/fe-manage.git
synced 2025-12-20 08:16:46 +08:00
feat:修改活动直播任务签到时间
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user