Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
P
pptist
Project
Project
Details
Activity
Releases
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
viitto
pptist
Commits
f8f8e093
Commit
f8f8e093
authored
Jun 07, 2024
by
zhengke
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修复 上传本地图
parent
2f961453
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
3 deletions
+7
-3
index.vue
src/components/CloudDisk/index.vue
+7
-3
No files found.
src/components/CloudDisk/index.vue
View file @
f8f8e093
...
@@ -226,7 +226,10 @@ const uoloadFileToService = async (file:File)=>{
...
@@ -226,7 +226,10 @@ const uoloadFileToService = async (file:File)=>{
}
}
let
filePath
=
"tripImg/"
;
let
filePath
=
"tripImg/"
;
let
url
=
await
AliyunUpload
.
UploadCloudDisk
(
file
,
filePath
,
parms
);
let
url
=
await
AliyunUpload
.
UploadCloudDisk
(
file
,
filePath
,
parms
);
if
(
url
)
Search
()
if
(
url
)
{
querySearchGroup
()
Search
()
}
}
}
const
calculateFileHash
=
(
file
:
File
,
algorithm
=
'SHA-256'
)
=>
{
const
calculateFileHash
=
(
file
:
File
,
algorithm
=
'SHA-256'
)
=>
{
...
@@ -552,15 +555,16 @@ onMounted(()=>{
...
@@ -552,15 +555,16 @@ onMounted(()=>{
right
:
-2px
;
right
:
-2px
;
width
:
20px
;
width
:
20px
;
height
:
20px
;
height
:
20px
;
line-height
:
15px
;
background
:
#fff
;
background
:
#fff
;
border
:
1px
solid
#AFAFAF
;
border
:
1px
solid
#AFAFAF
;
text-align
:
center
;
text-align
:
center
;
color
:
#AFAFAF
;
color
:
#AFAFAF
;
border-radius
:
50%
;
border-radius
:
50%
;
z-index
:
3
;
z-index
:
3
;
opacity
:
0
;
display
:
none
;
}
}
.CloudDisk-R-Box.active2
:hover
.close-btn
{
.CloudDisk-R-Box.active2
:hover
.close-btn
{
opacity
:
1
;
display
:
block
;
}
}
</
style
>
</
style
>
\ No newline at end of file
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