Commit f8f8e093 authored by zhengke's avatar zhengke

修复 上传本地图

parent 2f961453
...@@ -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
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment