diff --git a/src/views/main_web/recycle.vue b/src/views/main_web/recycle.vue
index e917dd3b..6269b919 100644
--- a/src/views/main_web/recycle.vue
+++ b/src/views/main_web/recycle.vue
@@ -16,7 +16,7 @@
v-if="!isShowRecycleTip"
v-for="(folder, index) in filesList"
:key="index">
-
+
@@ -78,7 +78,8 @@
+ @contextmenu.prevent="rightFoldergroupShowMenu($event, foldergroup)"
+ @click="clickFoldergroup(foldergroup)">
@@ -230,6 +231,14 @@
.catch(function (error) {
console.log(error);
});
+ }).catch(()=>{
+ thisApp.$notify({
+ title: "温馨提示",
+ message: "已取消操作",
+ type: "info",
+ offset: 100,
+ duration: 2500
+ });
});
},
/**
@@ -270,6 +279,14 @@
.catch(error => {
console.log(error);
});
+ }).catch(()=>{
+ thisApp.$notify({
+ title: "温馨提示",
+ message: "已取消操作",
+ type: "info",
+ offset: 100,
+ duration: 2500
+ });
});
},
/**
@@ -299,6 +316,16 @@
this.rightMenuvisible = false;
},
/******* 右键文件分组菜单 *********/
+ clickYinyongWarpBox:function(){
+ this.rightMenuvisible = false;
+ this.rightFoldergroupMenuvisible = false;
+ },
+ /**
+ * 单机分组
+ */
+ clickFoldergroup:function(foldergroup){
+ this.rightFoldergroupMenuvisible = false;
+ },
/**
* 右键文件分组
*/
@@ -363,7 +390,7 @@
offset: 100,
duration: 2500
});
- }); ;
+ });
},
/**
* 彻底删除
@@ -407,13 +434,14 @@
},
},
watch: {
- rightMenuvisible(value) {
+ rightMenuvisiblerightMenuvisible(value) {
if (value) {
document.body.addEventListener("click", this.closeShowMenu);
} else {
document.body.removeEventListener("click", this.closeShowMenu);
}
}
+
}
};