فهرست منبع

Merge branch 'devliwei2' of http://124.70.149.18:10880/lianghj/queenshow into devliwei2

liwei 1 سال پیش
والد
کامیت
5c636868bc

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

@@ -62,7 +62,7 @@ export default defineComponent({
     const addText = async () => {
       const aitext = `<p style="line-height:1.5;"><span style="font-size:14px;">${state.aiValue}</span></p>`;
       await actions.clickCompToDesign("Text", (comp) => {
-        actions.updateCompData(comp, "value", aitext);
+        actions.updateCompData(comp, "value.text", aitext);
       });
     };
 

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

@@ -92,7 +92,7 @@ export default defineUI({
                 item.published
                   ? items.push("取消发布")
                   : items.push("发布平台");
-                items.push("替换封面");
+                // items.push("替换封面");
               }
               return (
                 <Draggable>