mirror of
https://github.com/xinnan-tech/xiaozhi-esp32-server.git
synced 2026-11-25 04:29:51 +01:00
fix: 修复弹窗展示位置异常的问题
This commit is contained in:
parent
2bf5725048
commit
28b6c85650
3 changed files with 3 additions and 2 deletions
|
|
@ -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"
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue