diff --git a/src/components/ec_api/TabArea.vue b/src/components/ec_api/TabArea.vue
index 3cd0b0f..b431b40 100644
--- a/src/components/ec_api/TabArea.vue
+++ b/src/components/ec_api/TabArea.vue
@@ -1,5 +1,5 @@
-
+
请求地址:
- 1111
+
发送
@@ -210,8 +202,8 @@ function test() {
-
-
+
@@ -224,4 +216,5 @@ function test() {
.editor {
margin-top: 20px;
}
+
diff --git a/src/store/index.js b/src/store/index.js
index b57298a..88d0eae 100644
--- a/src/store/index.js
+++ b/src/store/index.js
@@ -71,11 +71,8 @@ const ecApiModule = {
// console.log('state.ec_api_data.api', state.ec_api_data.api)
},
handle_sort_ec_select_api: (state, payload) => {
- // console.log(state.ec_api_data.api)
- const movedTab = state.ec_api_data.api.splice(payload.oldIndex - 1, 1)[0];
- // console.log(state.ec_api_data.api)
- // console.log('movedTab', movedTab)
- state.ec_api_data.api.splice(payload.newIndex - 1, 0, toValue(movedTab));
+ const movedTab = state.ec_api_data.api.splice(payload.oldIndex-1, 1)[0];
+ state.ec_api_data.api.splice(payload.newIndex-1, 0, movedTab);
},
add_ec_api_data: (state, payload) => {
// console.log('payload', payload)