初步完成merchant和admin不同role的展示内容逻辑3

This commit is contained in:
2026-03-12 16:13:13 +08:00
parent a81509e1fc
commit a768597ca2
4 changed files with 8 additions and 16 deletions

View File

@@ -1,4 +1,4 @@
<template>
<template>
<view class="subscribe-checkout">
<view class="header">
<text class="title">确认订阅</text>
@@ -91,7 +91,7 @@ const selPay = (v: number) => { payMethod.value = v }
// 获取当前用户ID按现有store实现替换
const getCurrentUserId = (): string => {
try { return (uni.getStorageSync('current_user_id') as string) || '' } catch { return '' }
try { return (supa.getSession().user?.id as string) || '' } catch { return '' }
}
const confirmSubscribe = async () => {