确认订单
This commit is contained in:
@@ -44,6 +44,7 @@
|
||||
<script setup lang='ts'>
|
||||
import { onLoad, onShow } from '@dcloudio/uni-app';
|
||||
import { generateBarCode, generateQrCode } from '@/api/common';
|
||||
import {getDynamicCode} from '@/api/user';
|
||||
import { assetsUrl } from '@/utils/assets';
|
||||
|
||||
const code = ref<{ barCode: string, qrCode: string }>();
|
||||
@@ -52,6 +53,7 @@ const codeRefreshInterval = ref(30);
|
||||
|
||||
onLoad(() => {
|
||||
generateCode();
|
||||
getDynamicCode()
|
||||
|
||||
setInterval(() => {
|
||||
codeRefreshInterval.value -= 1;
|
||||
|
Reference in New Issue
Block a user