bianjiang 1 年間 前
コミット
6654b9a535

+ 1 - 0
src/modules/editor/components/Viewport/Slider/SliderLeft/CompsUser.tsx

@@ -159,6 +159,7 @@ export default defineUI({
                           }
                           if (name == "编辑") {
                             await resource.actions.editSource(item, sourceType);
+                            ctrl.fresh();
                             return;
                           }
 

+ 1 - 0
src/modules/editor/components/Viewport/Slider/SliderLeft/Sources/List.tsx

@@ -115,6 +115,7 @@ export const Sources = defineComponent({
                       }
                       if (name == "edit") {
                         await resource.actions.editSource(item, sourceType);
+                        control.fresh();
                         return;
                       }
                       if (name == "publish" || name == "unpublish") {