<template>
    <BasicModal
      v-bind="$attrs"
      :title="title"
      @register="registerInnerModal"
      :footer="null"
      :width="800"
    >
     dsads
    </BasicModal>
  </template>
  
  <script setup lang="ts">
  import { BasicModal, useModalInner } from "@/components/Modal";
  import { computed, ref, unref } from "vue";

  
  

  const title = computed<string>(() => {
    return isUpdate.value ? "编辑电梯二维码关联信息;" : "新增电梯二维码关联信息;";
  });
  
  const [registerInnerModal, { modalLoading, closeModal }] = useModalInner(
    async (data: { record?: Recordable;  }) => {
    //   modalLoading(true);
      const { record } = data;
    
    
      
    //   modalLoading(false);
    }
  );
  
  
 
  

  </script>
  
  <style scoped></style>
  