diff --git a/package.json b/package.json index 6a46cc5..e2217b6 100644 --- a/package.json +++ b/package.json @@ -5,7 +5,7 @@ "author": "若依", "license": "MIT", "scripts": { - "dev": "vue-cli-service serve", + "dev": "SET NODE_OPTIONS=--openssl-legacy-provider && vue-cli-service serve", "build:prod": "vue-cli-service build", "build:stage": "vue-cli-service build --mode staging", "preview": "node build/index.js --preview", diff --git a/src/api/menu.js b/src/api/menu.js index 845efd7..8c1c21a 100644 --- a/src/api/menu.js +++ b/src/api/menu.js @@ -6,4 +6,4 @@ export const getRouters = () => { url: '/system/menu/getRouters', method: 'get' }) -} \ No newline at end of file +} diff --git a/src/api/system/dept.js b/src/api/system/dept.js index fc943cd..331c4b2 100644 --- a/src/api/system/dept.js +++ b/src/api/system/dept.js @@ -49,4 +49,4 @@ export function delDept(deptId) { url: '/system/dept/' + deptId, method: 'delete' }) -} \ No newline at end of file +} diff --git a/src/api/system/dict/type.js b/src/api/system/dict/type.js index a7a6e01..a0254ba 100644 --- a/src/api/system/dict/type.js +++ b/src/api/system/dict/type.js @@ -57,4 +57,4 @@ export function optionselect() { url: '/system/dict/type/optionselect', method: 'get' }) -} \ No newline at end of file +} diff --git a/src/api/system/menu.js b/src/api/system/menu.js index f6415c6..87af6c3 100644 --- a/src/api/system/menu.js +++ b/src/api/system/menu.js @@ -57,4 +57,4 @@ export function delMenu(menuId) { url: '/system/menu/' + menuId, method: 'delete' }) -} \ No newline at end of file +} diff --git a/src/api/system/notice.js b/src/api/system/notice.js index c274ea5..d61a810 100644 --- a/src/api/system/notice.js +++ b/src/api/system/notice.js @@ -41,4 +41,4 @@ export function delNotice(noticeId) { url: '/system/notice/' + noticeId, method: 'delete' }) -} \ No newline at end of file +}