Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
csbr-daop
/
fe-data-trusted-space
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
2bf009dd
authored
2025-12-08 17:34:57 +0800
by
lihua
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
解决查看凭证的文件名问题
1 parent
38e89082
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
src/api/modules/common.ts
src/api/modules/common.ts
View file @
2bf009d
...
...
@@ -72,9 +72,11 @@ export const onUploadFilePreview = async (params) => {
url
=
getPathUrl
(
url
);
// let f = formInline.value[item.field].find(i => i.name == file.name);
// let url = f.url;
let
fileName
:
string
=
parseAndDecodeUrl
(
url
).
fileName
;
let
urlInfo
=
parseAndDecodeUrl
(
url
);
let
fileName
:
string
=
urlInfo
.
fileName
;
if
(
!
name
)
{
name
=
fileName
;
// 获取最后的文件名部分
name
=
urlInfo
.
lastPart
;
}
const
refSignInfo
:
any
=
await
getDownFileSignByUrl
(
fileName
);
if
(
!
refSignInfo
?.
data
)
{
...
...
Write
Preview
Styling with
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment