src/components/mini/mdDetail.vue
@@ -92,6 +92,8 @@ }, methods: { queryDetail() { this.showMsg = true; this.errorMsg = "加载中.."; queryBlogArticleDetail({ id: this.acticleId, authWord: this.secret == "" ? null : md5(this.secret) @@ -121,15 +123,15 @@ return } //获取日志资源文件 this.showMsg = false; this.errorMsg = ""; this.$axios .get(res.data.articleFileURL) .then((res) => { this.source = res.data; }) //获取日志资源文件 this.showMsg = false; this.errorMsg = ""; }) }, pressEnter() { @@ -150,7 +152,7 @@ this.$router.go(-1); } }, } </script>