From af029bdfb645bd2b75fbab687c1a5f45b428d801 Mon Sep 17 00:00:00 2001
From: inleft <inleft@qq.com>
Date: Thu, 11 Aug 2022 18:53:48 +0800
Subject: [PATCH] 优化上传逻辑,月台添加mini播放弹窗

---
 src/components/mini/mdDetail.vue |   16 +++++++++-------
 1 files changed, 9 insertions(+), 7 deletions(-)

diff --git a/src/components/mini/mdDetail.vue b/src/components/mini/mdDetail.vue
index 93149d1..a55f3d5 100644
--- a/src/components/mini/mdDetail.vue
+++ b/src/components/mini/mdDetail.vue
@@ -8,7 +8,7 @@
 
 		<div v-if="showMsg && !myLock">
 			<div class="mySecretSamll" v-if="articleFileType==myConstant.fileTypeShort">
-					<p>碎碎念只有那么一点了,但是下面依旧可以碎碎念</p>
+				<p>碎碎念只有那么一点了,但是下面依旧可以碎碎念</p>
 			</div>
 			<div class="mySecret" v-else>
 				<h1>怎样才能让你看到我呢</h1>
@@ -34,7 +34,7 @@
 				<vue-markdown :source="source"></vue-markdown>
 			</div>
 		</div>
-		<div class="articleInfoMiniData" >
+		<div class="articleInfoMiniData">
 			<div class="smallOption" @click="articleOptionHandle('dislike')">
 				<a-icon type="dislike" style="margin-top: 2px;" />
 			</div>
@@ -75,7 +75,7 @@
 
 	import axios from 'axios'
 	import myConstant from "../../config/myConstant.js"
-	
+
 	export default {
 		components: {
 			VueMarkdown,
@@ -83,7 +83,7 @@
 		},
 		data() {
 			return {
-				myConstant:myConstant,
+				myConstant: myConstant,
 				articelMeta: "",
 				isAllowedComment: 1,
 				articleId: "",
@@ -131,8 +131,10 @@
 				this.showMsg = true;
 				this.errorMsg = "加载中..";
 
-				if (this.articleFileType == myConstant.fileTypeShort) {
-					this.errorMsg = "没有更多啦..";
+				if (this.articleFileType == myConstant.fileTypeShort ||
+					this.articleFileType == myConstant.fileTypeVideo ||
+					this.articleFileType == myConstant.fileTypeMp3) {
+					this.errorMsg = "该类型日志在这里没有更多啦..";
 					return
 				}
 
@@ -193,7 +195,7 @@
 
 			},
 			back: function() {
-				this.$router.go(-1);
+				this.$router.back(-1);
 			}
 		},
 

--
Gitblit v1.9.1