pc-master #283

Merged
xiaomeng merged 2 commits from pc-master into portal 2025-09-19 00:16:50 +00:00
2 changed files with 5 additions and 4 deletions

View File

@ -268,7 +268,7 @@ export default {
}, },
// //
handleCommand(index) { handleCommand(index) {
this.TypeSel = this.typeSelList[index].name this.TypeSel = this.typeSelList[index].label
this.TypeSelIndex = this.typeSelList[index].value this.TypeSelIndex = this.typeSelList[index].value
var dataNum = { var dataNum = {
target: { target: {
@ -391,7 +391,7 @@ export default {
this.typeSelList.forEach((el, index) => { this.typeSelList.forEach((el, index) => {
if (el.value == this.inputData[21657 + (this.indexs - 1)]) { if (el.value == this.inputData[21657 + (this.indexs - 1)]) {
this.TypeSel = el.name this.TypeSel = el.label
this.TypeSelIndex = el.value this.TypeSelIndex = el.value
} }
if (this.inputData[21657 + (this.indexs - 1)] == 0) { if (this.inputData[21657 + (this.indexs - 1)] == 0) {

View File

@ -492,7 +492,7 @@ export default {
}, },
getrightList3() { getrightList3() {
// var num = this.inputData['82'] // var num = this.inputData['82']
var num = this.inputData['82'] var num = this.inputData['82']?this.inputData['82']:0
var num1 = this.padString(num.toString(2), 8) var num1 = this.padString(num.toString(2), 8)
var openListNew = [] var openListNew = []
@ -575,7 +575,8 @@ export default {
}, },
// //
getData81() { getData81() {
var number = this.padString(this.inputData['81'].toString(2), 4) var num=this.inputData['81']?this.inputData['81']:0
var number = this.padString(num.toString(2), 4)
var openListNew = [] var openListNew = []
openListNew = number.split("") openListNew = number.split("")