|
@@ -111,15 +111,15 @@ const UploadVideo = defineComponent({
|
|
|
async onUploadImage() {
|
|
|
if (this.fileList.length === 0) return message.warning("请选择图片");
|
|
|
this.$emit("close");
|
|
|
- // message.info("素材上传中...");
|
|
|
- // const key = "start";
|
|
|
- // notification.open({
|
|
|
- // key,
|
|
|
- // message: "状态提示",
|
|
|
- // description: "素材上传中...",
|
|
|
- // duration: 2,
|
|
|
- // icon: h(LoadingOutlined, { style: "color: #108ee9" }),
|
|
|
- // });
|
|
|
+ message.info("素材上传中...");
|
|
|
+ const key = "start";
|
|
|
+ notification.open({
|
|
|
+ key,
|
|
|
+ message: "状态提示",
|
|
|
+ description: "素材上传中...",
|
|
|
+ duration: 2,
|
|
|
+ icon: h(LoadingOutlined, { style: "color: #108ee9" }),
|
|
|
+ });
|
|
|
let num = 0;
|
|
|
if (this.fileList.length === 0) return message.error("请选择图片");
|
|
|
this.fileList.forEach((item) => {
|