购物车逻辑
This commit is contained in:
@@ -33,8 +33,8 @@
|
||||
<text>卡信息</text>
|
||||
</view>
|
||||
|
||||
<text>店铺名称(武汉xx店)</text>
|
||||
<text>253654587852</text>
|
||||
<text>店铺名称({{userInfo.creatorName}})</text>
|
||||
<text>{{ userInfo.storeId }}</text>
|
||||
</view>
|
||||
|
||||
</view>
|
||||
@@ -48,6 +48,7 @@ import { generateBarCode, generateQrCode } from '@/api/common';
|
||||
import { getDynamicCode } from '@/api/user';
|
||||
import { useUserStore } from '@/store';
|
||||
import { goPath } from '@/utils';
|
||||
import { use } from 'licia';
|
||||
|
||||
const store = useUserStore();
|
||||
const { userInfo } = storeToRefs(store);
|
||||
@@ -58,6 +59,7 @@ const codeRefreshInterval = ref(30);
|
||||
|
||||
onLoad(() => {
|
||||
generateCode();
|
||||
console.log('------->>>',userInfo.value)
|
||||
|
||||
setInterval(() => {
|
||||
codeRefreshInterval.value -= 1;
|
||||
|
Reference in New Issue
Block a user