Skip to content

Commit 2d35fb4

Browse files
committed
refactor:update
1 parent 759aa5b commit 2d35fb4

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

web/src/components/index/ConnForm.vue

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ export default {
134134
addConn(ruleForm).then((res) => {
135135
store.commit("addConn",res.data)
136136
});
137-
dialogFormVisible.value = false
137+
context.emit("close");
138138
ruleFormRef.value.resetFields();
139139
}
140140
@@ -151,12 +151,12 @@ export default {
151151
}
152152
);
153153
154-
return{
155-
dialogFormVisible,
154+
return{
156155
rules,
157156
loading,
158-
ruleFormRef,
159157
ruleForm,
158+
ruleFormRef,
159+
dialogFormVisible,
160160
testConns,
161161
onSubmit,
162162
onReset

0 commit comments

Comments
 (0)