web/packages/components/zt-dialog/src/zt-dialog.vue
@@ -16,7 +16,7 @@ <el-button type="primary" @click="formSubmit()" v-preventReClick v-show="editAble && hasConfirm">{{ $t('confirm') }} </el-button> <el-button type="primary" @click="close()" v-show="!editAble">{{ $t('close') }}</el-button> <el-button type="info" @click="close()" v-show="!editAble">{{ $t('close') }}</el-button> <slot name="footer"></slot> </template> </el-dialog> @@ -85,6 +85,7 @@ } if (this.$parent.init) { console.log(id,row,'id row') this.$parent.init(id, row) } if (id && this.$parent.getInfo) {