Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
T
topsun-baoshen-excel
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
何远江
topsun-baoshen-excel
Commits
3233c189
Commit
3233c189
authored
Mar 13, 2025
by
tanjunxin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: 订单变量上传文件时添加遮罩层
parent
dc1f6df3
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
0 deletions
+7
-0
Variables.vue
src/views/var/variables/Variables.vue
+7
-0
No files found.
src/views/var/variables/Variables.vue
View file @
3233c189
...
...
@@ -205,10 +205,17 @@ const handleRemove = (file) => {
}
const
handleExceed
=
()
=>
{}
const
changeUpload
=
(
file
:
any
)
=>
{
const
loading
=
ElLoading
.
service
({
text
:
'上传中...'
,
background
:
'rgba(0, 0, 0, 0.7)'
,
lock
:
true
,
spinner
:
'el-icon-loading'
})
const
formData
=
new
FormData
()
formData
.
append
(
'file'
,
file
.
raw
)
console
.
log
(
file
,
'file'
)
uploadFile
(
formData
).
then
(({
data
})
=>
{
loading
.
close
()
if
(
data
?.
code
===
200
)
{
importForm
.
value
.
filePaths
.
push
({
uid
:
file
.
uid
,
path
:
data
.
message
})
}
else
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
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 comment