diff --git a/packages/schema-page/index.vue b/packages/schema-page/index.vue index 6ff4a3c..657d302 100644 --- a/packages/schema-page/index.vue +++ b/packages/schema-page/index.vue @@ -99,33 +99,37 @@ @@ -189,7 +193,7 @@ export default { modalType: this.dialogType || 'none', modalTitle: this.dialogTitle || '', modalProps: {}, - detailSchema: filterout(cloneDeep(this.schema.form), ['is', 'rules']), + detailSchema: filterout(cloneDeep(this.schema.form || {}), ['is', 'rules']), detail: this.valueDetail || {}, tableData: this.valueTable || [], loading: false, @@ -201,7 +205,6 @@ export default { if (this.auto || this.schema.auto) { this.onSearch(); } - console.log(this); }, watch: { valueDetail(val) { -- libgit2 0.21.0