tj
2025-06-05 b84ced02cc40cad7cdd99d80b54638f72ccab7e6
change editor controller
已修改2个文件
7 ■■■■■ 文件已修改
components/setting/setting-popup.vue 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
sub-pages/film-list/film-detail.vue 5 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
components/setting/setting-popup.vue
@@ -93,7 +93,7 @@
);
// 监听内部 showPopup 变化,通知外部更新 modelValue
watch(showPopup, (val) => {
watch(showPopup, (val) => {
    emit('update:modelValue', val);
});
</script>
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)
        }