使用组件解析富文本
This commit is contained in:
parent
4c22f0dbee
commit
ea059d2a80
@ -2,8 +2,8 @@
|
|||||||
<BasicLayout>
|
<BasicLayout>
|
||||||
<view class="p-15">
|
<view class="p-15">
|
||||||
<view class="white-bg-color p-15 r-md" v-if="notice">
|
<view class="white-bg-color p-15 r-md" v-if="notice">
|
||||||
<!-- <RichTextContent :content="notice" /> -->
|
<RichTextContent :content="notice" />
|
||||||
<view v-html="notice" />"
|
<!-- <view v-html="notice" />" -->
|
||||||
</view>
|
</view>
|
||||||
<BasicSign ref="signCompRef" title="签名"></BasicSign>
|
<BasicSign ref="signCompRef" title="签名"></BasicSign>
|
||||||
</view>
|
</view>
|
||||||
@ -27,7 +27,7 @@ import { xkgzsApi } from "@/api/base/server";
|
|||||||
import { useDataStore } from "@/store/modules/data";
|
import { useDataStore } from "@/store/modules/data";
|
||||||
import { showLoading } from "@/utils/uniapp";
|
import { showLoading } from "@/utils/uniapp";
|
||||||
import { onLoad } from "@dcloudio/uni-app";
|
import { onLoad } from "@dcloudio/uni-app";
|
||||||
// import RichTextContent from "@/components/RichTextContent/RichTextContent.vue";
|
import RichTextContent from "@/components/RichTextContent/RichTextContent.vue";
|
||||||
|
|
||||||
const signCompRef = ref<any>(null);
|
const signCompRef = ref<any>(null);
|
||||||
const sign_file = ref<any>(null);
|
const sign_file = ref<any>(null);
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user