修复谷歌登录
This commit is contained in:
@@ -408,6 +408,7 @@ export default defineComponent({
|
||||
if(res.errCode == 0){
|
||||
file.imgUrl = res.data.url;
|
||||
file.id = res.data.id
|
||||
data.currentList.forEach((listItem:any)=>listItem.isChecked = false)
|
||||
data.fileList.forEach((listItem:any)=>{
|
||||
if(listItem.id == file.id){
|
||||
listItem.isChecked = true
|
||||
@@ -415,7 +416,6 @@ export default defineComponent({
|
||||
listItem.isChecked = false
|
||||
}
|
||||
})
|
||||
data.currentList.forEach((listItem:any)=>listItem.isChecked = false)
|
||||
file.type = 'ProductElement'
|
||||
// if(props.productimgMenu.value == 'Relight'){
|
||||
// file.type = "ToProductImage"
|
||||
@@ -553,6 +553,13 @@ export default defineComponent({
|
||||
watch(()=>store.state.HomeStoreModule.uploadElement.length,(newVal,oldVal)=>{
|
||||
if(props.isDesignPage)return
|
||||
data.fileList = store.state.HomeStoreModule.uploadElement
|
||||
data.fileList.forEach((listItem:any)=>{
|
||||
if(listItem.id == data.selectImg.id){
|
||||
listItem.isChecked = true
|
||||
}else{
|
||||
listItem.isChecked = false
|
||||
}
|
||||
})
|
||||
})
|
||||
watch(()=>data.noLikeList.length,(newVal,oldVal)=>{
|
||||
nextTick(()=>{
|
||||
|
||||
Reference in New Issue
Block a user