web/packages/components/zt-dialog/src/zt-dialog.vue
@@ -82,10 +82,13 @@ computed: { _title() { if (this.title) { console.log(this.title,'this.title') return this.title } else if (!this.editAble) { } else if (this.isView) { console.log(this.editAble,'this.editAble') return this.$t('view') } else if (this.$parent.dataForm !== undefined) { console.log(this.$parent.dataForm,'this.$parent.dataForm') return !this.$parent.dataForm.id ? this.$t('add') : this.$t('update') } }