From 2a39af937f29471dab27b152dfae2b1fc28b32d6 Mon Sep 17 00:00:00 2001
From: WXL <1785969728@qq.com>
Date: 星期五, 01 十一月 2024 18:45:29 +0800
Subject: [PATCH] 测试完成
---
src/views/knowledge/education/index.vue | 16 ++++++++--------
1 files changed, 8 insertions(+), 8 deletions(-)
diff --git a/src/views/knowledge/education/index.vue b/src/views/knowledge/education/index.vue
index 9216623..1c7494d 100644
--- a/src/views/knowledge/education/index.vue
+++ b/src/views/knowledge/education/index.vue
@@ -444,13 +444,13 @@
<div class="qrcode-img"></div>
</div>
</el-dialog>
- <el-dialog title="妯$増棰勮" :visible.sync="previewtf" width="60%">
+ <el-dialog title="妯℃澘棰勮" :visible.sync="previewtf" width="60%">
<div class="preview-left">
<!-- 鍗曢�� -->
- <div v-html="richText"></div>
+ <div v-html="htmlRichText"></div>
</div>
<!-- <span slot="footer" class="dialog-footer">
- <el-button @click="previewGo">鍓嶅線妯$増璇︽儏淇敼</el-button>
+ <el-button @click="previewGo">鍓嶅線妯℃澘璇︽儏淇敼</el-button>
<el-button type="primary" @click="previewFn">纭浣跨敤</el-button>
</span> -->
</el-dialog>
@@ -501,7 +501,7 @@
haoeducation: "",
indexid: null,
inputValue: "",
- richText: "",
+ htmlRichText: "",
radio: "涓诲垎绫�",
inputVisible: false,
previewtf: false,
@@ -652,14 +652,14 @@
},
// 鏌ョ湅瀹f暀
Vieweducation(row) {
- this.richText = null;
+ this.htmlRichText = null;
this.previewtf = true;
axios
- .get(row.richText)
+ .get(row.htmlRichText)
.then((response) => {
console.log(response.data, "鏁版嵁"); // 杈撳嚭鑾峰彇鍒扮殑鏂囦欢鍐呭
- this.richText = response.data;
- this.richText = this.addStyleToImages(this.richText);
+ this.htmlRichText = response.data;
+ this.htmlRichText = this.addStyleToImages(this.htmlRichText);
})
.catch((error) => {
this.$modal.msgError("鑾峰彇瀵屾枃鏈け璐�");
--
Gitblit v1.9.3