fix: 暂时弃用html-renderer将html渲染回滚到v-html
All checks were successful
deploy to server / build-and-deploy (push) Successful in 2m56s
All checks were successful
deploy to server / build-and-deploy (push) Successful in 2m56s
- 增添table样式
This commit is contained in:
@ -8,13 +8,14 @@
|
||||
|
||||
<div v-if="!pending" class="page-content">
|
||||
<!-- eslint-disable-next-line vue/no-v-html -->
|
||||
<div v-if="!hydrated" v-html="contactInfo?.content || ''" />
|
||||
<div v-else>
|
||||
<html-renderer
|
||||
class="html-typography"
|
||||
:html="contactInfo?.content || ''"
|
||||
/>
|
||||
</div>
|
||||
<div class="html-typography" v-html="contactInfo?.content || ''" />
|
||||
<!-- <div v-if="!hydrated" v-html="contactInfo?.content || ''" /> -->
|
||||
<!-- <div v-else> -->
|
||||
<!-- <html-renderer -->
|
||||
<!-- class="html-typography" -->
|
||||
<!-- :html="contactInfo?.content || ''" -->
|
||||
<!-- /> -->
|
||||
<!-- </div> -->
|
||||
</div>
|
||||
<div v-else class="loading">
|
||||
<el-skeleton :rows="5" animated />
|
||||
|
||||
Reference in New Issue
Block a user