部分文件引入svgIcon
This commit is contained in:
@@ -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: {
|
||||
|
||||
@@ -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);
|
||||
|
||||
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user