Commit 01c26226 authored by zhengke's avatar zhengke

修复 成员导入bug

parent 5be7ee35
...@@ -138,7 +138,7 @@ ...@@ -138,7 +138,7 @@
</main> </main>
<template #footer> <template #footer>
<el-button @click="removeVisible = false" size="large" class="ppt-button" :disabled="loading">我再想想</el-button> <el-button @click="removeVisible = false" size="large" class="ppt-button" :disabled="loading">我再想想</el-button>
<el-button :type="removeTokenStr!='移除并清空'?'info':'primary'" size="large" @click="removeMember" :disabled="removeTokenStr!='移除并清空' || loading" class="ppt-button text-grey-8">移除并清空</el-button> <el-button :type="removeTokenStr!='移除并清空'?'info':'primary'" size="large" @click="removeMember" :disabled="removeTokenStr!='移除并清空' || loading" class="ppt-button" :class="[removeTokenStr!='移除并清空'?'text-grey-8':'']">移除并清空</el-button>
</template> </template>
</el-dialog> </el-dialog>
<!-- 转让管理员 --> <!-- 转让管理员 -->
......
...@@ -207,13 +207,13 @@ const getUploadActionUrl=()=>{ ...@@ -207,13 +207,13 @@ const getUploadActionUrl=()=>{
return url; return url;
} }
const handleAvatarSuccess=async (res:any)=>{ const handleAvatarSuccess= (res:any)=>{
if(res.data){ if(res.data){
UploadResults.value = res.data UploadResults.value = res.data
if(res.data.successNum>0) emit('imported') if(res.data.successNum>0) emit('imported')
if(res.data.failUrl) UploadResults.value.DownloadUrl = domainManager().DownloadUrl.replace("common","file")+`${res.data.failUrl}` if(res.data.failUrl) UploadResults.value.DownloadUrl = domainManager().DownloadUrl.replace("common","file")+`${res.data.failUrl}`
} }
console.log("handleAvatarSuccess_res",res); console.log("handleAvatarSuccess_res",res);
} }
const beforeAvatarUpload=async (res:any)=>{ const beforeAvatarUpload=async (res:any)=>{
......
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