✨ feat: 京东E卡默认图片
This commit is contained in:
parent
652cff745c
commit
6eef39e7b8
|
@ -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) => {
|
||||
|
|
Loading…
Reference in New Issue