opt: 设备优化

This commit is contained in:
yanps
2024-02-23 16:37:01 +08:00
parent d4c89bc50f
commit 7282a6ef66
106 changed files with 845 additions and 326 deletions

View File

@@ -124,7 +124,7 @@ export default {
props: {
parentForm: {
type: Object,
require: true
required: true
}
},
data() {
@@ -206,7 +206,7 @@ export default {
debugger
const dbValue = data.db
// .之前的字符串
const beforeStr = dbValue.match(/(\S*)\./)[1]
// const beforeStr = dbValue.match(/(\S*)\./)[1]
// .之后的字符串
const afterStr = dbValue.match(/\.(\S*)/)[1]
// 取最后数字
@@ -233,7 +233,7 @@ export default {
if (data.code.indexOf('to_command') !== -1) {
const dbValue = data.db
// .之前的字符串
const beforeStr = dbValue.match(/(\S*)\./)[1]
// const beforeStr = dbValue.match(/(\S*)\./)[1]
// .之后的字符串
const afterStr = dbValue.match(/\.(\S*)/)[1]
// 取最后数字