From 716fdef793bbbbed45cde1a699bd57cf1e2ad450 Mon Sep 17 00:00:00 2001
From: chuzhixin <1204505056@qq.com>
Date: Sat, 9 Jan 2021 00:03:41 +0800
Subject: [PATCH] remove image-comparison
---
mock/controller/router.js | 6 ---
package.json | 1 -
src/plugins/vabComparison.js | 3 --
src/router/index.js | 6 ---
src/views/vab/imgComparison/index.vue | 53 ---------------------------
5 files changed, 69 deletions(-)
delete mode 100644 src/plugins/vabComparison.js
delete mode 100644 src/views/vab/imgComparison/index.vue
diff --git a/mock/controller/router.js b/mock/controller/router.js
index 08ee905..89a40dd 100644
--- a/mock/controller/router.js
+++ b/mock/controller/router.js
@@ -212,12 +212,6 @@ const data = [
component: '@/views/vab/lodash/index',
meta: { title: 'lodash', permissions: ['admin'] },
},
- {
- path: 'imgComparison',
- name: 'ImgComparison',
- component: '@/views/vab/imgComparison/index',
- meta: { title: '图像拖拽比对', permissions: ['admin'] },
- },
{
path: 'smallComponents',
name: 'SmallComponents',
diff --git a/package.json b/package.json
index 978fe73..8d25568 100644
--- a/package.json
+++ b/package.json
@@ -59,7 +59,6 @@
"vue-echarts": "^5.0.0-beta.0",
"vue-router": "^3.4.9",
"vuex": "^3.6.0",
- "zx-comparison": "^1.0.3",
"zx-count": "^0.3.7",
"zx-layouts": "^0.6.24",
"zx-magnifie": "^0.4.0",
diff --git a/src/plugins/vabComparison.js b/src/plugins/vabComparison.js
deleted file mode 100644
index d579aff..0000000
--- a/src/plugins/vabComparison.js
+++ /dev/null
@@ -1,3 +0,0 @@
-import VabComparison from 'zx-comparison'
-
-export default VabComparison
diff --git a/src/router/index.js b/src/router/index.js
index e89c45c..19383c6 100644
--- a/src/router/index.js
+++ b/src/router/index.js
@@ -248,12 +248,6 @@ export const asyncRoutes = [
component: () => import('@/views/vab/lodash/index'),
meta: { title: 'lodash', permissions: ['admin'] },
},
- {
- path: 'imgComparison',
- name: 'ImgComparison',
- component: () => import('@/views/vab/imgComparison/index'),
- meta: { title: '图像拖拽比对', permissions: ['admin'] },
- },
{
path: 'smallComponents',
name: 'SmallComponents',
diff --git a/src/views/vab/imgComparison/index.vue b/src/views/vab/imgComparison/index.vue
deleted file mode 100644
index 33bfa6b..0000000
--- a/src/views/vab/imgComparison/index.vue
+++ /dev/null
@@ -1,53 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-