|
@@ -21,7 +21,7 @@
|
|
|
v-for="item in typeOpt"
|
|
|
:key="item.code"
|
|
|
:label="item.msg"
|
|
|
- :value="item"
|
|
|
+ :value="item.msg"
|
|
|
/>
|
|
|
</el-select>
|
|
|
</el-col>
|
|
@@ -297,8 +297,11 @@ export default {
|
|
|
},
|
|
|
methods: {
|
|
|
celectClientType(e) {
|
|
|
- this.isCommand = e.code
|
|
|
- this.clientType = e.msg
|
|
|
+ const newData = this.typeOpt.filter(item => {
|
|
|
+ return item.msg === e
|
|
|
+ })
|
|
|
+ this.isCommand = newData[0].code
|
|
|
+ this.clientType = newData[0].msg
|
|
|
this.getVersionList()
|
|
|
this.getVersionBytpye(this.isCommand === '' ? this.typeOpt[0].code : this.isCommand)
|
|
|
this.versionOpt = this.versionOpt[0].version
|