mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/fe-manage.git
synced 2025-12-11 20:06:47 +08:00
feat:增加删除任务功能
This commit is contained in:
@@ -127,9 +127,10 @@
|
||||
<div class="ant-upload-text">Upload</div>
|
||||
</div>
|
||||
</a-upload>
|
||||
<div class="tip">支持图片格式为jpg/jpeg/png 图片最大为2MB</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="main_item">
|
||||
<div class="main_item" style="margin-top: -10px">
|
||||
<div class="signbox">
|
||||
<span style="margin-right: 3px">直播链接:</span>
|
||||
</div>
|
||||
@@ -531,7 +532,9 @@ export default {
|
||||
};
|
||||
const beforeUpload = (file) => {
|
||||
const isJpgOrPng =
|
||||
file.type === "image/jpeg" || file.type === "image/png";
|
||||
file.type === "image/jpeg" ||
|
||||
file.type === "image/png" ||
|
||||
file.type === "image/jpg";
|
||||
|
||||
if (!isJpgOrPng) {
|
||||
message.error("You can only upload JPG file!");
|
||||
@@ -615,9 +618,9 @@ export default {
|
||||
apiTask
|
||||
.addTask({
|
||||
courseId: 0,
|
||||
duration: 0,
|
||||
duration: state.obj.liveDuration,
|
||||
flag: true,
|
||||
name: "",
|
||||
name: state.obj.liveName,
|
||||
projectId: 28,
|
||||
projectTaskId: 0,
|
||||
stageId: 3,
|
||||
|
||||
Reference in New Issue
Block a user