feat: 京东E卡默认图片

This commit is contained in:
wangsongsole 2024-02-29 17:39:47 +08:00
parent 652cff745c
commit 6eef39e7b8
1 changed files with 18 additions and 0 deletions

View File

@ -350,6 +350,24 @@ const UseProductPop = forwardRef((props, ref) => {
//
clearForm()
setModel({ product_type: e.target.value })
if (e.target.value == 3) {
setModel({
show_url: [
{
id: new Date().getTime(),
src: "https://lsxdemall.oss-cn-beijing.aliyuncs.com/commonproductlogo/goods-pic/jd_logo.png",
name: "common-pic.png"
}
],
describe_url: [
{
id: new Date().getTime(),
src: "https://lsxdemall.oss-cn-beijing.aliyuncs.com/commonproductlogo/goods-pic/jd_card.png",
name: "common-pic.png"
}
]
})
}
}
const onUploadError = (type, data) => {