增加共享接口字段传参

This commit is contained in:
BianLzhaoMin 2025-11-27 09:36:58 +08:00
parent a449394a07
commit 8c8f2d238d
2 changed files with 3 additions and 0 deletions

View File

@ -823,6 +823,7 @@ export default {
this.selectedFilesForShare = this.selectedRows.map((row) => ({ this.selectedFilesForShare = this.selectedRows.map((row) => ({
id: row.id, id: row.id,
name: row.name, name: row.name,
type: row.type,
})) }))
this.dialogConfig.outerTitle = '共享' this.dialogConfig.outerTitle = '共享'
this.dialogConfig.outerVisible = true this.dialogConfig.outerVisible = true
@ -839,6 +840,7 @@ export default {
{ {
id: row.id, id: row.id,
name: row.name, name: row.name,
type: row.type,
}, },
] ]
this.dialogConfig.outerTitle = '共享' this.dialogConfig.outerTitle = '共享'

View File

@ -526,6 +526,7 @@ export default {
.map((item) => item.userId) .map((item) => item.userId)
.join(','), .join(','),
auth: this.form.permission, auth: this.form.permission,
type: this.selectedFiles[0].type,
} }
this.loading = true this.loading = true
try { try {