add share to guest by web client

This commit is contained in:
ljw
2024-10-09 15:52:17 +08:00
parent 3d203971b8
commit bf98a51285
15 changed files with 8729 additions and 14 deletions
+13 -1
View File
@@ -116,7 +116,16 @@ export function useRepositories (user_id) {
getList()
}
}
const shareToWebClientVisible = ref(false)
const shareToWebClientForm = reactive({
id: '',
hash: '',
})
const toShowShare = (row) => {
shareToWebClientForm.id = row.id
shareToWebClientForm.hash = row.hash
shareToWebClientVisible.value = true
}
return {
listRes,
listQuery,
@@ -129,5 +138,8 @@ export function useRepositories (user_id) {
toEdit,
toAdd,
submit,
shareToWebClientVisible,
shareToWebClientForm,
toShowShare,
}
}