review + mall:商品管理

(cherry picked from commit 0fba3fd503)
This commit is contained in:
YunaiV
2023-05-24 20:27:45 +08:00
committed by shizhong
parent 4eacb6dd8c
commit 4cd4327bc8
8 changed files with 121 additions and 133 deletions

View File

@ -146,7 +146,6 @@ const submitForm = async () => {
const newSliderPicUrls = []
deepCopyFormData.sliderPicUrls.forEach((item) => {
// 如果是前端选的图
// TODO @puhui999疑问哈为啥会是 object 呀fix
typeof item === 'object' ? newSliderPicUrls.push(item.url) : newSliderPicUrls.push(item)
})
deepCopyFormData.sliderPicUrls = newSliderPicUrls