feat: pay comp name

pull/4/MERGE
xingyuv 2023-04-13 13:47:07 +08:00
parent c74bb8adce
commit abca6ba622
8 changed files with 8 additions and 8 deletions

View File

@ -3,7 +3,7 @@
<BasicForm @register="registerForm" />
</BasicModal>
</template>
<script lang="ts" setup name="AppModal">
<script lang="ts" setup name="PayAppModal">
import { ref, unref } from 'vue'
import { BasicModal, useModalInner } from '@/components/Modal'
import { BasicForm, useForm } from '@/components/Form'

View File

@ -33,7 +33,7 @@
<AppModal @register="registerModal" @success="reload()" />
</div>
</template>
<script lang="ts" setup name="App">
<script lang="ts" setup name="PayApp">
import { useI18n } from '@/hooks/web/useI18n'
import { useMessage } from '@/hooks/web/useMessage'
import { useModal } from '@/components/Modal'

View File

@ -3,7 +3,7 @@
<BasicForm @register="registerForm" />
</BasicModal>
</template>
<script lang="ts" setup name="MerchantModal">
<script lang="ts" setup name="PayMerchantModal">
import { ref, unref } from 'vue'
import { BasicModal, useModalInner } from '@/components/Modal'
import { BasicForm, useForm } from '@/components/Form'

View File

@ -33,7 +33,7 @@
<MerchantModal @register="registerModal" @success="reload()" />
</div>
</template>
<script lang="ts" setup name="Merchant">
<script lang="ts" setup name="PayMerchant">
import { useI18n } from '@/hooks/web/useI18n'
import { useMessage } from '@/hooks/web/useMessage'
import { useModal } from '@/components/Modal'

View File

@ -3,7 +3,7 @@
<Description :bordered="false" :column="3" :data="refundData" :schema="descSchema" />
</BasicModal>
</template>
<script lang="ts" setup name="RefundModal">
<script lang="ts" setup name="PayRefundModal">
import { ref } from 'vue'
import { BasicModal, useModalInner } from '@/components/Modal'
import { Description } from '@/components/Description'

View File

@ -19,7 +19,7 @@
<OrderModal @register="registerModal" />
</div>
</template>
<script lang="ts" setup name="Order">
<script lang="ts" setup name="PayOrder">
import { useI18n } from '@/hooks/web/useI18n'
import { useMessage } from '@/hooks/web/useMessage'
import { useModal } from '@/components/Modal'

View File

@ -3,7 +3,7 @@
<Description :bordered="false" :column="3" :data="refundData" :schema="descSchema" />
</BasicModal>
</template>
<script lang="ts" setup name="RefundModal">
<script lang="ts" setup name="PayRefundModal">
import { ref } from 'vue'
import { BasicModal, useModalInner } from '@/components/Modal'
import { Description } from '@/components/Description'

View File

@ -19,7 +19,7 @@
<RefundModal @register="registerModal" />
</div>
</template>
<script lang="ts" setup name="Refund">
<script lang="ts" setup name="PayRefund">
import { useI18n } from '@/hooks/web/useI18n'
import { useMessage } from '@/hooks/web/useMessage'
import { useModal } from '@/components/Modal'