Skip to content

Commit a797914

Browse files
committed
refactor:update
1 parent b284887 commit a797914

File tree

3 files changed

+351
-72
lines changed

3 files changed

+351
-72
lines changed

web/src/components/MainIndex.vue

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@
1010
<MainSection :tagData="tabs"></MainSection>
1111
</div>
1212

13-
<ConnInfo :drawer="drawer" :info="infos" :title="title" @close="close"></ConnInfo>
1413
<DataForm></DataForm>
1514
<SettingFrom></SettingFrom>
1615
</div>
@@ -20,7 +19,6 @@
2019
import { reactive, ref } from '@vue/reactivity'
2120
import MainSection from '@/components/MainSection.vue'
2221
import MenuSection from '@/components/MenuSection.vue'
23-
import ConnInfo from "@/components/index/ConnInfo.vue"
2422
import DataForm from "@/components/index/DataForm.vue"
2523
import SettingFrom from "@/components/index/SettingForm.vue"
2624
@@ -29,7 +27,6 @@ export default {
2927
components:{
3028
MainSection,
3129
MenuSection,
32-
ConnInfo,
3330
DataForm,
3431
SettingFrom
3532
},
@@ -39,7 +36,6 @@ export default {
3936
let mid = ref(null);
4037
let box = ref(null);
4138
let resize = ref(null);
42-
let drawer = ref(false);
4339
let title = ref("");
4440
let infos = ref("");
4541
@@ -74,29 +70,19 @@ export default {
7470
}
7571
7672
const showInfo = (connec_id,info)=>{
77-
drawer.value = true;
7873
title.value = '' + connec_id + '】服务信息';
7974
infos.value = info.replace(/\r\n/gm, "<br/>")
8075
}
8176
82-
const close = ()=>{
83-
drawer.value = false;
84-
title.value = '';
85-
infos.value = '';
86-
}
87-
8877
return{
8978
left,
9079
mid,
9180
box,
9281
resize,
9382
tabs,
94-
drawer,
9583
title,
96-
infos,
9784
resizeMouse,
9885
showInfo,
99-
close
10086
}
10187
},
10288
}

web/src/components/index/ConnInfo.vue

Lines changed: 0 additions & 52 deletions
This file was deleted.

0 commit comments

Comments
 (0)