tangning před 8 měsíci
rodič
revize
ac162a0e9a

+ 2 - 2
src/view/case/draw/board/shape.js

@@ -3,7 +3,7 @@ import textSVG from "@/assets/svg/text.svg";
 import tableSVG from "@/assets/svg/table.svg";
 import rectSVG from "@/assets/svg/rect.svg";
 import circularSVG from "@/assets/svg/circular.svg";
-// import arrowSVG from "@/assets/svg/arrow.svg";
+import arrowSVG from "@/assets/svg/arrow.svg";
 import iconSVG from "@/assets/svg/icon.svg";
 import cigaretteSVG from "@/assets/svg/cigarette.svg";
 import fireointSVG from "@/assets/svg/fireoint.svg";
@@ -57,7 +57,7 @@ export const metas = {
   [table]: { desc: "表格", icon: tableSVG },
   [rect]: { desc: "矩形", icon: rectSVG },
   [circular]: { desc: "圆形", icon: circularSVG },
-  // [arrow]: { desc: "箭头", icon: arrowSVG },
+  [arrow]: { desc: "箭头", icon: arrowSVG },
   [icon]: { desc: "图标", icon: iconSVG },
   [cigarette]: { desc: "烟头", icon: cigaretteSVG },
   [fireoint]: { desc: "起火点", icon: fireointSVG },

+ 2 - 2
src/view/case/draw/board/shapes.ts

@@ -3,7 +3,7 @@ import textSVG from "@/assets/svg/text.svg";
 import tableSVG from "@/assets/svg/table.svg";
 import rectSVG from "@/assets/svg/rect.svg";
 import circularSVG from "@/assets/svg/circular.svg";
-// import arrowSVG from "@/assets/svg/arrow.svg";
+import arrowSVG from "@/assets/svg/arrow.svg";
 import iconSVG from "@/assets/svg/icon.svg";
 import cigaretteSVG from "@/assets/svg/cigarette.svg";
 import fireointSVG from "@/assets/svg/fireoint.svg";
@@ -23,7 +23,7 @@ export const shapes: { [key in MetaShapeType]: string } = {
   Table: tableSVG,
   Rectangle: rectSVG,
   Circle: circularSVG,
-  // Arrow: arrowSVG,
+  Arrow: arrowSVG,
   Icon: iconSVG,
   Cigaret: cigaretteSVG,
   FirePoint: fireointSVG,

+ 1 - 1
src/view/case/draw/index.vue

@@ -15,7 +15,7 @@
     />
 
     <div class="df-layout-child">
-      <Eshape v-model:shape="state.selectShape" v-if="state.selectShape" />
+      <!-- <Eshape v-model:shape="state.selectShape" v-if="state.selectShape" /> -->
       <div class="df-sider">
         <Slider
           :type="props.type"

+ 1 - 1
src/view/case/draw/slider.vue

@@ -87,7 +87,7 @@ import { coverImageSize } from "@/util/image-rotate";
 import { uploadFile } from "@/store/system";
 import { ElMessage } from "element-plus";
 import { confirm } from "@/helper/message";
-
+console.log('metas, labels, images', metas, labels, images);
 const props = defineProps<{
   type: BoardType;
   existsBgImage: boolean;