src/components/page/introduce.vue
@@ -14,8 +14,8 @@ </el-col> <!-- 新闻内容 --> <el-card class="box-card"> <el-col :span="18"> <div>{{ this.new.content }}</div> <el-col> <div v-html="this.new.content"></div> </el-col> </el-card> </el-row> @@ -91,6 +91,7 @@ // console.log(res); if(res.code == 200){ this.new = res.data; console.log(this.new.content); } }).catch(error => { console.log(error);