From 70ab41ed7d2f456896035da2f9c4ba3969c5fa21 Mon Sep 17 00:00:00 2001
From: 明梦爽 <2972214568@qq.com>
Date: 星期三, 23 三月 2022 17:46:56 +0800
Subject: [PATCH] 上传后台aip服务
---
src/components/page/introduce.vue | 8 ++++++--
1 files changed, 6 insertions(+), 2 deletions(-)
diff --git a/src/components/page/introduce.vue b/src/components/page/introduce.vue
index f9174f7..41641c1 100644
--- a/src/components/page/introduce.vue
+++ b/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" class="ql-editor"></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);
@@ -115,4 +116,7 @@
.ft-black {
color: #000;
}
+.ql-editor{
+ padding: 12px 0px !important;
+}
</style>
\ No newline at end of file
--
Gitblit v1.8.0