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/versions
|
||||
.pnp.*
|
||||
|
||||
.history
|
||||
# Vab
|
||||
public/video
|
||||
*.zip
|
||||
|
||||
@ -2045,8 +2045,8 @@ export default {
|
||||
}
|
||||
})
|
||||
} else {
|
||||
if (shop_product_image) {
|
||||
let image = shop_product_image[0]
|
||||
if (shop_product_image.length) {
|
||||
let image = shop_product_image?.[0]
|
||||
obj.main_color_img = image.item_image_default
|
||||
let other = image.item_image_other
|
||||
if (other) {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user