|
|
|
@ -17,7 +17,7 @@ export class Maintain extends BI.Widget {
|
|
|
|
|
listView: any; |
|
|
|
|
|
|
|
|
|
render() { |
|
|
|
|
const { text } = this.getEditConnection(); |
|
|
|
|
const { text, isEdit } = this.getEditConnection(); |
|
|
|
|
|
|
|
|
|
return { |
|
|
|
|
type: Vtape, |
|
|
|
@ -32,7 +32,7 @@ export class Maintain extends BI.Widget {
|
|
|
|
|
type: IconButton, |
|
|
|
|
hgap: 5, |
|
|
|
|
cls: 'dcm-back-font', |
|
|
|
|
invisible: this.model.isCopy, |
|
|
|
|
invisible: this.model.isCopy || isEdit, |
|
|
|
|
handler: () => { |
|
|
|
|
this.store.setPageIndex(PAGE_INDEX.DATEBASE); |
|
|
|
|
}, |
|
|
|
|