|
|
@@ -117,6 +117,7 @@ export default {
|
|
|
apk: '',
|
|
|
devices: '',
|
|
|
schema: {
|
|
|
+ autoRefreshEachPage: true,
|
|
|
props: {
|
|
|
size: 'small'
|
|
|
},
|
|
|
@@ -134,6 +135,7 @@ export default {
|
|
|
]
|
|
|
},
|
|
|
{ key: 'name', type: 'search', placeholder: '升级名称' },
|
|
|
+ { key: 'deviceName', type: 'search', placeholder: '设备名称' },
|
|
|
{ type: 'refresh' }
|
|
|
],
|
|
|
cols: [
|
|
|
@@ -157,7 +159,7 @@ export default {
|
|
|
}
|
|
|
}), width: 120, align: 'center' },
|
|
|
{ type: 'invoke', render: [
|
|
|
- { label: '删除', on: this.onDel }
|
|
|
+ { label: '删除', allow: ({ status }) => status !== 2, on: this.onDel }
|
|
|
] }
|
|
|
]
|
|
|
},
|