update: gitignore添加history历史文件忽略,修复商品编辑页数据为空时的数据判断
This commit is contained in:
parent
5b563867fe
commit
36a43bf0e9
2
.gitignore
vendored
2
.gitignore
vendored
@ -36,7 +36,7 @@ package-lock.json
|
|||||||
!.yarn/sdks
|
!.yarn/sdks
|
||||||
!.yarn/versions
|
!.yarn/versions
|
||||||
.pnp.*
|
.pnp.*
|
||||||
|
.history
|
||||||
# Vab
|
# Vab
|
||||||
public/video
|
public/video
|
||||||
*.zip
|
*.zip
|
||||||
|
|||||||
@ -2045,8 +2045,8 @@ export default {
|
|||||||
}
|
}
|
||||||
})
|
})
|
||||||
} else {
|
} else {
|
||||||
if (shop_product_image) {
|
if (shop_product_image.length) {
|
||||||
let image = shop_product_image[0]
|
let image = shop_product_image?.[0]
|
||||||
obj.main_color_img = image.item_image_default
|
obj.main_color_img = image.item_image_default
|
||||||
let other = image.item_image_other
|
let other = image.item_image_other
|
||||||
if (other) {
|
if (other) {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user