mirror of
https://github.com/jiangrui1994/CloudSaver.git
synced 2026-01-12 08:08:46 +08:00
fix:转存报错没有提示
This commit is contained in:
@@ -117,11 +117,13 @@ const saveDialogMap = {
|
||||
},
|
||||
};
|
||||
|
||||
const handleSave = (resource: ResourceItem) => {
|
||||
const handleSave = async (resource: ResourceItem) => {
|
||||
currentResource.value = resource;
|
||||
saveDialogVisible.value = true;
|
||||
saveDialogStep.value = 1;
|
||||
resourceStore.getResourceListAndSelect(currentResource.value);
|
||||
if (!(await resourceStore.getResourceListAndSelect(currentResource.value))) {
|
||||
saveDialogVisible.value = false;
|
||||
}
|
||||
};
|
||||
|
||||
const handleFolderSelect = async (folderId: string) => {
|
||||
@@ -156,7 +158,6 @@ const handleLoadMore = (channelId: string) => {
|
||||
};
|
||||
|
||||
const searchMovieforTag = (tag: string) => {
|
||||
console.log("iiii");
|
||||
router.push({ path: "/", query: { keyword: tag } });
|
||||
};
|
||||
</script>
|
||||
|
||||
Reference in New Issue
Block a user