diff --git a/src/types/components.d.ts b/src/types/components.d.ts index 3276eb2..e126ff3 100644 --- a/src/types/components.d.ts +++ b/src/types/components.d.ts @@ -8,7 +8,6 @@ export {} declare module '@vue/runtime-core' { export interface GlobalComponents { Breadcrumb: typeof import('./../components/Breadcrumb/index.vue')['default'] - copy: typeof import('./../components/EditPosition copy.vue')['default'] CutImg: typeof import('./../components/cutImg.vue')['default'] CutImg1: typeof import('./../components/cutImg1.vue')['default'] EditPosition: typeof import('./../components/EditPosition.vue')['default'] @@ -24,6 +23,7 @@ declare module '@vue/runtime-core' { ElInput: typeof import('element-plus/es')['ElInput'] ElInputNumber: typeof import('element-plus/es')['ElInputNumber'] ElOption: typeof import('element-plus/es')['ElOption'] + ElPagination: typeof import('element-plus/es')['ElPagination'] ElSelect: typeof import('element-plus/es')['ElSelect'] ElSwitch: typeof import('element-plus/es')['ElSwitch'] ElTooltip: typeof import('element-plus/es')['ElTooltip'] @@ -31,8 +31,14 @@ declare module '@vue/runtime-core' { GithubCorner: typeof import('./../components/GithubCorner/index.vue')['default'] Hamburger: typeof import('./../components/Hamburger/index.vue')['default'] IconSelect: typeof import('./../components/IconSelect/index.vue')['default'] + IEpCloseBold: typeof import('~icons/ep/close-bold')['default'] + IEpDelete: typeof import('~icons/ep/delete')['default'] + IEpDownload: typeof import('~icons/ep/download')['default'] IEpEdit: typeof import('~icons/ep/edit')['default'] + IEpLoading: typeof import('~icons/ep/loading')['default'] IEpMenu: typeof import('~icons/ep/menu')['default'] + IEpSearch: typeof import('~icons/ep/search')['default'] + IEpVideoPlay: typeof import('~icons/ep/video-play')['default'] LangSelect: typeof import('./../components/LangSelect/index.vue')['default'] MultiUpload: typeof import('./../components/Upload/MultiUpload.vue')['default'] MyLoading: typeof import('./../components/myLoading.vue')['default'] diff --git a/src/views/moveImg/index.vue b/src/views/moveImg/index.vue index 0649724..846b25e 100644 --- a/src/views/moveImg/index.vue +++ b/src/views/moveImg/index.vue @@ -37,23 +37,23 @@ //#endregion --------------------------- -onMounted(() => { - // let canvas = new fabric.Canvas("canvas"); - let imgElement = document.getElementById("bjImg"); //声明我们的图片 - // let imgInstance = new fabric.Image(imgElement, { - //设置图片位置和样子 - // left: 100, - // top: 100, - // width: 400, - // height: 200, - // angle: 30, //设置图形顺时针旋转角度 - // }); - console.log(imgInstance); - canvas.add(imgInstance); - // canvas.on("mouse:up", function (options) { - // console.log(options.e.clientX, options.e.clientY); - // }); -}); +// onMounted(() => { +// let canvas = new fabric.Canvas("canvas"); +// let imgElement = document.getElementById("bjImg"); //声明我们的图片 +// let imgInstance = new fabric.Image(imgElement, { +//设置图片位置和样子 +// left: 100, +// top: 100, +// width: 400, +// height: 200, +// angle: 30, //设置图形顺时针旋转角度 +// }); +// console.log(imgInstance); +// canvas.add(imgInstance); +// canvas.on("mouse:up", function (options) { +// console.log(options.e.clientX, options.e.clientY); +// }); +// });