@@ -148,25 +148,23 @@ export default {
width: '120',
render: (h, { row }) => {
const action = [];
- row.auditStatus !== 1 &&
- action.push(
- h(
- 'BaseBtn',
- {
- props: {
- popip: true,
- txt: '删除',
- type: 'text'
- },
- class: 'ml-10',
- on: {
- ok: () => this.handleDelItem(row)
- }
+ action.push(
+ h(
+ 'BaseBtn',
+ {
+ props: {
+ popip: true,
+ txt: '删除',
+ type: 'text'
},
- '删除'
- )
- );
-
+ class: 'ml-10',
+ on: {
+ ok: () => this.handleDelItem(row)
+ }
+ },
+ '删除'
+ )
+ );
return h('div', action);
}