mirror of
https://github.com/xinnan-tech/xiaozhi-esp32-server.git
synced 2026-07-23 23:53:55 +08:00
feature:
1.OTA基本能力(固定配置),待优化 2.智能体管理与设备管理对接api,实现流程闭环(已测试)
This commit is contained in:
@@ -40,8 +40,12 @@ export default {
|
||||
},
|
||||
methods: {
|
||||
confirm() {
|
||||
if (!this.deviceCode.trim()) {
|
||||
this.$message.error('请输入设备验证码');
|
||||
return;
|
||||
}
|
||||
this.$emit('confirm',this.deviceCode)
|
||||
this.$emit('update:visible', false)
|
||||
this.$emit('added', this.deviceCode)
|
||||
this.deviceCode = ""
|
||||
},
|
||||
cancel() {
|
||||
|
||||
Reference in New Issue
Block a user