张延森 4 lat temu
rodzic
commit
36e27f6e62

+ 1
- 1
src/pages/mpSetting/components/MiniAppMedia.jsx Wyświetl plik

57
     <div>
57
     <div>
58
       <Upload
58
       <Upload
59
         name="file"
59
         name="file"
60
-        accept=".png, .jpg, .jpeg, .gif"
60
+        accept=".jpg, .jpeg"
61
         listType="picture-card"
61
         listType="picture-card"
62
         fileList={fileList}
62
         fileList={fileList}
63
         customRequest={customRequest}
63
         customRequest={customRequest}

+ 1
- 1
src/pages/mpSetting/index.jsx Wyświetl plik

76
             props.form.getFieldDecorator('aesKey')(<Input placeholder="请填写 AES_KEY" readOnly />)
76
             props.form.getFieldDecorator('aesKey')(<Input placeholder="请填写 AES_KEY" readOnly />)
77
           }
77
           }
78
         </Form.Item>
78
         </Form.Item>
79
-        <Form.Item label="小程序封面">
79
+        <Form.Item label="小程序封面" help="图片建议大小为520*416">
80
           <MiniAppMedia onChange={handleMiniAppChange} value={detailData.miniapp_url} />
80
           <MiniAppMedia onChange={handleMiniAppChange} value={detailData.miniapp_url} />
81
         </Form.Item>
81
         </Form.Item>
82
       </Form>
82
       </Form>