mirror of
https://github.com/PlayEdu/backend
synced 2025-12-23 20:19:29 +08:00
上传图片按钮文案替换
This commit is contained in:
@@ -198,6 +198,7 @@ const SystemConfigPage = () => {
|
||||
<Image preview={false} height={40} src={logo} />
|
||||
<div className="d-flex ml-24">
|
||||
<UploadImageButton
|
||||
text="更换Logo"
|
||||
onSelected={(url) => {
|
||||
setLogo(url);
|
||||
form.setFieldsValue({ "system.logo": url });
|
||||
@@ -219,6 +220,7 @@ const SystemConfigPage = () => {
|
||||
<div className="d-flex">
|
||||
<div className="d-flex ml-24">
|
||||
<UploadImageButton
|
||||
text="更换Logo"
|
||||
onSelected={(url) => {
|
||||
setLogo(url);
|
||||
form.setFieldsValue({ "system.logo": url });
|
||||
@@ -363,6 +365,7 @@ const SystemConfigPage = () => {
|
||||
/>
|
||||
<div className="d-flex ml-24">
|
||||
<UploadImageButton
|
||||
text="更换封面"
|
||||
onSelected={(url) => {
|
||||
setThumb(url);
|
||||
form.setFieldsValue({ "player.poster": url });
|
||||
@@ -384,6 +387,7 @@ const SystemConfigPage = () => {
|
||||
<div className="d-flex">
|
||||
<div className="d-flex">
|
||||
<UploadImageButton
|
||||
text="更换封面"
|
||||
onSelected={(url) => {
|
||||
setThumb(url);
|
||||
form.setFieldsValue({ "player.poster": url });
|
||||
|
||||
Reference in New Issue
Block a user