配置管理修改固件升级bug

This commit is contained in:
admin-lmm
2023-07-04 13:11:05 +08:00
parent f563d8a9de
commit b0372e7cfd

View File

@@ -1,14 +1,14 @@
<template>
<div style="margin-top:10px">
<el-button type="primary" icon="el-icon-s-tools" round @click="dialogTableVisible = true">测试远程固件升级</el-button>
<el-dialog title="配件升级" :visible.sync="dialogTableVisible">
<el-button type="primary" icon="el-icon-s-tools" round @click="dialogTableVisible = true">远程固件升级</el-button>
<el-dialog title="配件升级" :visible.sync="dialogTableVisible" :before-close="handleClose">
<el-table
:data="firmwareList"
border
stripe
ref="firmwareList"
@row-click="singleElection">
<el-table-column width="80" label="选择">
>
<el-table-column width="80" label="选择" @row-click="singleElection">
<template slot-scope="scope">
<el-radio class="radio" v-model="templateSelection" :label="scope.$index+1">
<p v-html>&nbsp;</p>
@@ -77,6 +77,10 @@ export default {
this.templateRadioId = row.id;
// console.log('this.templateRadio',this.templateRadioId)
},
handleClose(){
this.dialogTableVisible = false
this.templateSelection = ''
}
},
created() {
// this.getList()