generated from EasyWebApp/WebCell-scaffold
-
Notifications
You must be signed in to change notification settings - Fork 8
Labels
Description
Task description
- 新增文件 API 封装类,可抄:https://github.com/FreeCodeCamp-Chengdu/HOP/blob/66e0273c8e162d8bd39ad09fd5305a08b7588f57/models/Base/File.ts#L8-L32
- 需求输入框左侧新增文件多选按钮,目标代码:
idea2app.github.io/pages/dashboard/project/[id].tsx
Lines 172 to 197 in ecf9c56
<Paper component="form" elevation={1} className="sticky bottom-0 mx-1 mt-auto mb-1 flex items-end gap-2 p-1.5 sm:mx-0 sm:mb-0 sm:p-2" onSubmit={this.handleMessageSubmit} > <TextField name="content" placeholder={t('type_your_message')} multiline maxRows={4} fullWidth variant="outlined" size="small" required onKeyUp={this.handleQuickSubmit} /> <Button type="submit" variant="contained" className="min-w-full px-2 whitespace-nowrap sm:min-w-0" disabled={messageStore.uploading > 0} > {t('send')} </Button> </Paper> - 需求输入框监听粘贴、拖放,再将所有文件过滤出来,可抄:https://github.com/idea2app/Edkit/blob/bd165e30b0a712b7c792f3461bfe65694fc079f7/source/Editor.ts#L115-L137
- 将所有输入文件依次上传,并各发一条
ConsultMessage
Reward currency
TQT $
Reward amount
90
Reward payer
Task source
https://idea2app.feishu.cn/record/W7lXrg8MCewHvoc9Wztc12WtnMd
Reactions are currently unavailable