gerson
2024-09-08 18aeed6ed17a3aeacc157e0019159957aeaec556
src/views/project/yw/lowCode/sqlAmis/edit/SqlAmisEdit.vue
@@ -77,9 +77,10 @@
import * as supervisorApi from '/@/api/supervisorAdmin';
import { updateSqlApi } from '/@/api/supervisorAdmin';
import { useCompRef } from '/@/utils/types';
import { SupervisorPublished } from '../types';
const props = defineProps(['supervisor']);
const emit = defineEmits(['backLastPage']);
const emit = defineEmits(['backLastPage', 'updatePublished']);
const log = console.log;
const jsonCode = ref(codeExample.jsonCode);
const dockCode = ref(codeExample.dockCode);
@@ -223,7 +224,9 @@
      {
         loading: false,
      }
   );
   ).then(() => {
      emit('updatePublished', props.supervisor.id, SupervisorPublished.N);
   });
};
const sqlCodeChange = debounce((val) => {
@@ -289,8 +292,6 @@
      rsTableRef.value.setCurrentRow(configList.value[0]);
      // dockRowChange(configList.value[0]);
   }
   if (checkRsUpdate(originConfig, configList.value)) {
      // 自动更新Rs