兼容SE3
This commit is contained in:
@@ -359,12 +359,19 @@ const actions = {
|
||||
// 驱动信息
|
||||
} else if (data.resp_name === 'cd_info') {
|
||||
const list = data.resp_info.cd_list
|
||||
let cds = [{}, {}]
|
||||
let cds = []
|
||||
let isBD = false
|
||||
for (let i = 0; i < list.length; i++) {
|
||||
if (list[i].dev_type == 3) isBD = true
|
||||
if (list[i].cd_pos == 2) cds[0] = list[i]
|
||||
else cds[1] = list[i]
|
||||
if (i === 0) {
|
||||
cds.push(list[i])
|
||||
} else {
|
||||
if (list[i].cd_pos == 2) {
|
||||
cds.unshift(list[i])
|
||||
} else {
|
||||
cds.push(list[i])
|
||||
}
|
||||
}
|
||||
}
|
||||
let types = CDTypes
|
||||
let typeLists = cd_types
|
||||
|
||||
Reference in New Issue
Block a user