部分文件引入svgIcon

This commit is contained in:
X1627315083
2025-06-18 11:11:12 +08:00
parent 9c7fae36eb
commit 3ad1516ef4
3 changed files with 3 additions and 0 deletions

View File

@@ -148,6 +148,7 @@ import { BrushStore } from "../store/BrushStore";
import { OperationType } from "../utils/layerHelper";
import { inject } from "vue";
import VerticalSlider from "./VerticalSlider.vue";
import SvgIcon from "@/component/Canvas/SvgIcon/index.vue"
const props = defineProps({
activeTool: {

View File

@@ -11,6 +11,7 @@ import {
import { OperationType } from "../utils/layerHelper";
import BrushPanel from "./BrushPanel.vue";
import { BrushStore } from "../store/BrushStore";
import SvgIcon from "@/component/Canvas/SvgIcon/index.vue"
// 提供brushStore给子组件
provide("brushStore", BrushStore);

View File

@@ -1,6 +1,7 @@
<script setup>
import { ref, inject, computed, onMounted, onUnmounted } from "vue";
import { OperationType } from "../utils/layerHelper";
import SvgIcon from "@/component/Canvas/SvgIcon/index.vue"
const props = defineProps({
activeTool: String,