File tree Expand file tree Collapse file tree
packages/business/src/views/connections Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -26,7 +26,6 @@ import i18n from '@tap/i18n'
2626import { checkConnectionName , submitForm , uuid } from ' @tap/shared'
2727import { isEmpty } from ' lodash-es'
2828
29- import { markRaw } from ' vue'
3029import ConnectorDoc from ' ../../components/ConnectorDoc.vue'
3130import mixins from ' ../../components/create-connection/mixins'
3231import SceneDialog from ' ../../components/create-connection/SceneDialog.vue'
@@ -161,7 +160,8 @@ export default {
161160 }
162161 },
163162 mounted () {
164- this .schemaFormInstance = markRaw (this .$refs .schemaToForm ? .form ) // 获取表单的 form
163+ // this.schemaFormInstance = markRaw(this.$refs.schemaToForm?.form) // 获取表单的 form
164+ this .schemaFormInstance = this .$refs .schemaToForm ? .form // 获取表单的 form
165165 this .id = this .$route .params .id || ' '
166166 const { fromPath } = this .$route .query
167167 if (fromPath) {
@@ -898,7 +898,7 @@ export default {
898898 properties: {
899899 heartbeatEnable: {
900900 type: ' boolean' ,
901- default: false ,
901+ default: true ,
902902 ' x-component' : ' Switch' ,
903903 },
904904 },
You can’t perform that action at this time.
0 commit comments