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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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