From 46ceb9e9f182cfb7d42e781cdb6cbf7939c324b5 Mon Sep 17 00:00:00 2001
From: wally <18603454788@163.com>
Date: Thu, 28 Oct 2021 16:40:50 +0800
Subject: [PATCH] feat: config api
---
.eslintrc.js | 1 +
package.json | 1 +
src/App.vue | 2 +-
src/apis/index.js | 12 ++++++++++
src/views/function-config.vue | 44 +++++++++++++++++++++++++++++++----
src/views/network-config.vue | 23 ++++++++++++++----
6 files changed, 73 insertions(+), 10 deletions(-)
diff --git a/.eslintrc.js b/.eslintrc.js
index 34af86d..6449dea 100644
--- a/.eslintrc.js
+++ b/.eslintrc.js
@@ -12,6 +12,7 @@ module.exports = {
rules: {
'import/no-unresolved': 0,
'import/extensions': 0,
+ 'no-plusplus': 0,
'vue/html-self-closing': 'off',
'no-unused-expressions': 'off',
'vue/no-mutating-props': 'off',
diff --git a/package.json b/package.json
index 3d78f36..0bdc377 100644
--- a/package.json
+++ b/package.json
@@ -16,6 +16,7 @@
"@vitejs/plugin-vue": "^1.9.3",
"axios": "^0.23.0",
"element-plus": "^1.1.0-beta.24",
+ "lodash": "^4.17.21",
"vite": "^2.6.4",
"vite-plugin-windicss": "^1.4.11",
"vue": "^3.2.16",
diff --git a/src/App.vue b/src/App.vue
index 804d273..c0ea327 100644
--- a/src/App.vue
+++ b/src/App.vue
@@ -53,7 +53,7 @@ getDeviceData();
-
+