diff --git a/package.json b/package.json
index 2cf4532..d508830 100644
--- a/package.json
+++ b/package.json
@@ -11,7 +11,7 @@
"preview": "node build/index.js --preview",
"lint": "eslint --ext .js,.vue src",
"test:unit": "jest --clearCache && vue-cli-service test:unit",
- "svgo": "svgo -f src/icons/svg --config=src/icons/svgo.yml",
+ "svgo": "svgo -f src/assets/icons/svg --config=src/assets/icons/svgo.yml",
"new": "plop"
},
"husky": {
diff --git a/src/api/tools/picture.js b/src/api/tools/picture.js
index a689c77..f5ea30f 100644
--- a/src/api/tools/picture.js
+++ b/src/api/tools/picture.js
@@ -1,18 +1,11 @@
import request from '@/utils/request'
-export function del(id) {
+export function del(ids) {
return request({
- url: 'api/pictures/' + id,
- method: 'delete'
- })
-}
-
-export function delAll(ids) {
- return request({
- url: 'api/pictures/',
+ url: 'api/pictures',
method: 'delete',
data: ids
})
}
-export default { del, delAll }
+export default { del }
diff --git a/src/components/SvgIcon/index.vue b/src/components/SvgIcon/index.vue
index b07ded2..9a3318e 100644
--- a/src/components/SvgIcon/index.vue
+++ b/src/components/SvgIcon/index.vue
@@ -1,7 +1,7 @@
diff --git a/src/views/tools/picture/index.vue b/src/views/tools/picture/index.vue
deleted file mode 100644
index f04d24a..0000000
--- a/src/views/tools/picture/index.vue
+++ /dev/null
@@ -1,200 +0,0 @@
-
-
-
-
-
-
-
-
搜索
-
-
上传图片
-
删除
-
-
- 导出
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- {{ parseTime(scope.row.createTime) }}
-
-
-
-
-
- 确定删除本条数据吗?
-
- 取消
- 确定
-
-
-
-
-
-
-
-
-
-
-
-
-
-