From b84ced02cc40cad7cdd99d80b54638f72ccab7e6 Mon Sep 17 00:00:00 2001 From: tj <1378534974@qq.com> Date: 星期四, 05 六月 2025 13:21:11 +0800 Subject: [PATCH] change editor controller --- components/setting/setting-popup.vue | 2 +- sub-pages/film-list/film-detail.vue | 5 +++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/components/setting/setting-popup.vue b/components/setting/setting-popup.vue index b0459fb..1918164 100644 --- a/components/setting/setting-popup.vue +++ b/components/setting/setting-popup.vue @@ -93,7 +93,7 @@ ); // 监听内部 showPopup 变化,通知外部更新 modelValue -watch(showPopup, (val) => { +watch(showPopup, (val) => { emit('update:modelValue', val); }); </script> diff --git a/sub-pages/film-list/film-detail.vue b/sub-pages/film-list/film-detail.vue index 68e566f..f2956c9 100644 --- a/sub-pages/film-list/film-detail.vue +++ b/sub-pages/film-list/film-detail.vue @@ -35,7 +35,8 @@ </view> <view class="content-item"> - <rich-text :nodes="filmInfo.filmContent" /> + <!-- <rich-text :nodes="filmInfo.filmContent" /> --> + <up-parse :content="filmInfo.filmContent"></up-parse> </view> <view class="annotation content-item"> <text>{{ formatRelativeTime(filmInfo.createTime) }} 美国</text> @@ -162,7 +163,7 @@ const tmpPicture = JSON.parse(data.filmPictures) as FilmPicture[] filmPictureList.value = tmpPicture.map(item => item.url) // 如果 filmPictureList.value是空的情况下,则把封面放入到图片列表中 - debugger; + // debugger; if (filmPictureList.value.length === 0) { filmPictureList.value.push(data.coverUrl) } -- Gitblit v1.9.3