Ben Lin
2024-12-30 2e9c878dab8b83a5acbfb2caf934a66394b60d98
src/views/tigerprojects/system/lowcode/composition/Config.vue
@@ -134,11 +134,12 @@
    useModalsCrud.value[x] = useModal();
  });
  const custTableStyle = ref({
    height: window.screen.width == 1366? '350px': '450px'
    height: window.screen.width == 1366 ? '350px' : '450px',
  });
  /* 注入选中节点数据 */
  const selectedNodes = inject('selectedNodes') as Ref<any>;
  const mainRecord = ref(objParams.value.record);
  watch(
    () => selectedNodes.value,
    (newVal, oldVal) => {
@@ -242,6 +243,7 @@
      // useModalData,
      // useFormData,
      crudColSlots: objParams.value['crudColSlots'][name],
      mainRecord: mainRecord.value,
    };
    const actionItem = [
@@ -295,7 +297,7 @@
  /**
   * @description: 点击打开弹出选择列表框
   * @param {*} item
   * @param {*} item slot名字
   * @return {*}
   */
  function SelectItemInForm(item) {
@@ -306,6 +308,7 @@
      useModalsCrudInForm.value[item][1].openModal,
      record,
      objParams.value['CODE'],
      mainRecord.value,
    );
  }