部分文件引入svgIcon
This commit is contained in:
@@ -148,6 +148,7 @@ import { BrushStore } from "../store/BrushStore";
|
|||||||
import { OperationType } from "../utils/layerHelper";
|
import { OperationType } from "../utils/layerHelper";
|
||||||
import { inject } from "vue";
|
import { inject } from "vue";
|
||||||
import VerticalSlider from "./VerticalSlider.vue";
|
import VerticalSlider from "./VerticalSlider.vue";
|
||||||
|
import SvgIcon from "@/component/Canvas/SvgIcon/index.vue"
|
||||||
|
|
||||||
const props = defineProps({
|
const props = defineProps({
|
||||||
activeTool: {
|
activeTool: {
|
||||||
|
|||||||
@@ -11,6 +11,7 @@ import {
|
|||||||
import { OperationType } from "../utils/layerHelper";
|
import { OperationType } from "../utils/layerHelper";
|
||||||
import BrushPanel from "./BrushPanel.vue";
|
import BrushPanel from "./BrushPanel.vue";
|
||||||
import { BrushStore } from "../store/BrushStore";
|
import { BrushStore } from "../store/BrushStore";
|
||||||
|
import SvgIcon from "@/component/Canvas/SvgIcon/index.vue"
|
||||||
|
|
||||||
// 提供brushStore给子组件
|
// 提供brushStore给子组件
|
||||||
provide("brushStore", BrushStore);
|
provide("brushStore", BrushStore);
|
||||||
|
|||||||
@@ -1,6 +1,7 @@
|
|||||||
<script setup>
|
<script setup>
|
||||||
import { ref, inject, computed, onMounted, onUnmounted } from "vue";
|
import { ref, inject, computed, onMounted, onUnmounted } from "vue";
|
||||||
import { OperationType } from "../utils/layerHelper";
|
import { OperationType } from "../utils/layerHelper";
|
||||||
|
import SvgIcon from "@/component/Canvas/SvgIcon/index.vue"
|
||||||
|
|
||||||
const props = defineProps({
|
const props = defineProps({
|
||||||
activeTool: String,
|
activeTool: String,
|
||||||
|
|||||||
Reference in New Issue
Block a user