mirror of
https://github.com/xinnan-tech/xiaozhi-esp32-server.git
synced 2026-07-24 16:13:54 +08:00
fix: 修复弹窗展示位置异常的问题
This commit is contained in:
@@ -123,6 +123,7 @@ export default {
|
|||||||
border-radius: 10px;
|
border-radius: 10px;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
|
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
|
||||||
|
margin-top: 15vh !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
::v-deep .el-dialog__header {
|
::v-deep .el-dialog__header {
|
||||||
|
|||||||
@@ -13,7 +13,7 @@ export default {
|
|||||||
},
|
},
|
||||||
computed: {
|
computed: {
|
||||||
isValid() {
|
isValid() {
|
||||||
return /^(?:[0-9A-F]{2}[:-]){5}[0-9A-F]{2}$/i.test(this.macAddress);
|
return /^(?:[0-9A-Z]{2}[:-]){5}[0-9A-Z]{2}$/i.test(this.macAddress);
|
||||||
},
|
},
|
||||||
segments() {
|
segments() {
|
||||||
return this.macAddress.split(':');
|
return this.macAddress.split(':');
|
||||||
|
|||||||
@@ -107,7 +107,7 @@
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
<!-- Knowledge Base Dialog -->
|
<!-- Knowledge Base Dialog -->
|
||||||
<knowledge-base-dialog
|
<KnowledgeBaseDialog
|
||||||
ref="knowledgeBaseDialog"
|
ref="knowledgeBaseDialog"
|
||||||
:title="dialogTitle"
|
:title="dialogTitle"
|
||||||
:visible.sync="dialogVisible"
|
:visible.sync="dialogVisible"
|
||||||
|
|||||||
Reference in New Issue
Block a user