当前位置:网站首页>项目中遇到的问题 u-parse 组件渲染问题
项目中遇到的问题 u-parse 组件渲染问题
2022-07-05 18:11:00 【你还差的远呢。】
- 最近使用富文本渲染结合vuex使用渲染会有界面数据渲染问题
比如,我第一次进入富文本界面A,显示是没有问题的。
后面点击富文本界面B,B界面会先展示,之前A页面的UI界面,然后等一会,切换到B页面的内容。
这样用户体验非常不友好。
解决方案
之前富文本里面的数据是之前引用vuex里面的数据,我们使用data里面定义的数据,通过watch监听
vuex的数据,赋值给data里面定义的数据,就可以解决这个问题
富文本渲染会有数据显示 undefined的类型,需要用数据来判断显示即可
<text v-if="parseData.isHot">热点</text>
边栏推荐
- Writing writing writing
- Record eval() and no in pytoch_ grad()
- [paddlepaddle] paddedetection face recognition custom data set
- Can communication of nano
- 小林coding的内存管理章节
- Wu Enda team 2022 machine learning course, coming
- Notes on common management commands of openshift
- Check namespaces and classes
- New words new words new words new words [2]
- Failed to virtualize table with JMeter
猜你喜欢

图扑软件数字孪生 | 基于 BIM 技术的可视化管理系统

About Estimation with Cross-Validation

To solve the stubborn problem of Lake + warehouse hybrid architecture, xinghuan Technology launched an independent and controllable cloud native Lake warehouse integrated platform

buuctf-pwn write-ups (9)

小林coding的内存管理章节

node_ Exporter memory usage is not displayed

Zabbix

让更多港澳青年了解南沙特色文创产品!“南沙麒麟”正式亮相

Cmake tutorial step1 (basic starting point)

第十一届中国云计算标准和应用大会 | 华云数据成为全国信标委云计算标准工作组云迁移专题组副组长单位副组长单位
随机推荐
Eliminate the writing of 'if () else{}'
ConvMAE(2022-05)
OpenShift常用管理命令杂记
生词生词生词生词[2]
Tkinter window preload
Star ring technology data security management platform defender heavy release
pytorch yolov5 训练自定义数据
Sophon CE社区版上线,免费Get轻量易用、高效智能的数据分析工具
Isprs2022 / Cloud Detection: Cloud Detection with Boundary nets Boundary Networks Based Cloud Detection
Whether to take a duplicate subset with duplicate elements [how to take a subset? How to remove duplicates?]
星环科技重磅推出数据要素流通平台Transwarp Navier,助力企业实现隐私保护下的数据安全流通与协作
[PM2 details]
Matlab built-in function how different colors, matlab subsection function different colors drawing
开户复杂吗?网上开户安全么?
Career advancement Guide: recommended books for people in big factories
Multithreading (I) processes and threads
图像分类,看我就够啦!
深拷贝与浅拷贝【面试题3】
Binder开辟线程数过多导致主线程ANR异常
node_ Exporter memory usage is not displayed