src/views/outsideChainxj.vue
@@ -1,7 +1,7 @@ <template> <div class="questionnaire"> <div class="CONTENT"> <div class="title">暑期一号宣教</div> <div class="title">新华医院医护知识宣教</div> <div class="preview-left"> <!-- 单选 --> <div v-html="richText"></div> @@ -70,9 +70,7 @@ // }); // 临时获取数据 axios .get( "http://116.62.18.175:8096/profile/upload/show/挂号需知/挂号需知.html" ) .get("http://192.168.1.10:8095/profile/upload/show/测试/测试.html") .then((response) => { console.log(response.data, "数据"); // 输出获取到的文件内容 this.richText = response.data;