feat: 申请试用权限调整

This commit is contained in:
rd
2025-09-11 11:26:51 +08:00
parent 32bc0c4b95
commit 44e1ea9a06
15 changed files with 147 additions and 133 deletions

View File

@ -95,9 +95,9 @@ import axios from 'axios';
import { useUserStore } from '@/stores';
const store = useUserStore();
const userInfo = computed(() => {
return store.userInfo ?? {};
});
// const userInfo = computed(() => {
// return store.userInfo ?? {};
// });
const columns = [
{
@ -120,10 +120,13 @@ const formRef = ref();
const isSendCaptcha = ref(false);
const uploadInputRef = ref();
// console.log(userInfo.value)
const dataSource = computed(() => {
return userInfo.value ? [userInfo.value] : [];
return !isEmpty(store.userInfo) ? [store.userInfo] : [];
});
console.log(dataSource.value)
// 表单校验规则
const formRules = {
mobile: [