修改mqtt连接方式

This commit is contained in:
GGJ
2024-12-30 10:07:26 +08:00
parent 0f57e4b746
commit 6a06652532
19 changed files with 173 additions and 93 deletions

View File

@@ -79,10 +79,13 @@ const preservation = () => {
ruleForm.value.validate((valid: boolean) => {
if (valid) {
emit('submitForm', formdata.value, title.value)
formVisible.value = false
}
})
}
const shutDown = () => {
formVisible.value = false
}
// 关闭
const closeDialog = () => {
@@ -99,6 +102,6 @@ const open = (text: string, row?: any) => {
formVisible.value = true
}
defineExpose({ open })
defineExpose({ open,shutDown })
</script>
<style lang="scss" scoped></style>