Ben Lin
2024-07-18 7cf58a4d2fff6b9cba9029d4d43ba9744dbef864
src/views/components/CustModal.vue
@@ -4,7 +4,7 @@
 * @version: 
 * @Date: 2024-06-05 15:46:07
 * @LastEditors: Ben Lin
 * @LastEditTime: 2024-07-16 16:55:52
 * @LastEditTime: 2024-07-18 15:42:20
-->
<template>
  <BasicModal
@@ -50,7 +50,7 @@
  const cType = ref('');
  const title = ref('');
  const width = ref('');
  const FnName = ref({});
  const FnName = ref('');
  const mValues = ref<Recordable>({});
  const initFnName = ref({});
  const dtlSlots = ref([] as any[]);
@@ -115,10 +115,9 @@
      let param: CustModalParams = {
        cType: cType.value,
        values: unref(isUpdate.value),
        initFnName: initFnName.value[cType.value],
        mValues: mValues.value,
        others: data?.others,
        FnName: '',
        FnName: initFnName.value[cType.value],
      };
      CustFunc(param);
    }
@@ -151,7 +150,7 @@
      const action = await CustFunc({
        cType: cType.value,
        values: values,
        FnName: FnName.value[cType.value],
        FnName: FnName.value,
      } as unknown as CustModalParams);
      if (action.IsSuccessed) {
        closeModal();