From 1cf6d9fb8cf2f10e302509f033d8d55b4e60712c Mon Sep 17 00:00:00 2001
From: inleft <inleft@qq.com>
Date: Sun, 14 Aug 2022 01:45:42 +0800
Subject: [PATCH] 优化友链布局,月台窗口自适应,处理hls取消后仍然缓存问题

---
 src/components/mini/box10-add.vue |    7 +++----
 1 files changed, 3 insertions(+), 4 deletions(-)

diff --git a/src/components/mini/box10-add.vue b/src/components/mini/box10-add.vue
index 8800027..4c2b300 100644
--- a/src/components/mini/box10-add.vue
+++ b/src/components/mini/box10-add.vue
@@ -24,7 +24,7 @@
 			<a-form-model-item label="日志文件" v-show="!form.online">
 				<a-upload ref="blogFileUpload" :customRequest="customRequest" name="file" :showUploadList="true"
 					@change="handleChange" :default-file-list="form.blogFileList" :beforeUpload="beforeUpload"
-					:data="{'fileType':fileTypeMarkDown}" accept=".md,.html,.htm,.txt">
+					:data="{'fileType':myConstant.fileTypeMarkDown}" accept=".md,.html,.htm,.txt">
 					<a-button>
 						<a-icon type="upload" />限 markdown/html
 					</a-button>
@@ -102,7 +102,7 @@
 
 				<a-form-model-item label="封面">
 					<a-upload :customRequest="customRequest" name="file" :showUploadList="true" list-type="picture"
-						:data="{'fileType':fileTypeCover}" @change="handleChangeCoverFile"
+						:data="{'fileType':myConstant.fileTypeCover}" @change="handleChangeCoverFile"
 						:default-file-list="form.coverFileList" :beforeUpload="beforeUploadCover"
 						accept=".jpg,.png,.jpeg">
 						<!-- :disabled="form.coverFileList.length>=1" -->
@@ -213,8 +213,7 @@
 			};
 
 			return {
-				fileTypeMarkDown: myConstant.fileTypeMarkDown,
-				fileTypeCover: myConstant.fileTypeCover,
+				myConstant: myConstant,
 				blogArticleType: [],
 				tags: [],
 				inputVisible: false,

--
Gitblit v1.9.1