fix sql
This commit is contained in:
@@ -19,7 +19,8 @@
|
||||
<a-form-item :rules="[requireNationalCode()]" label="شماره ملی" name="n_code">
|
||||
<BasicInput
|
||||
v-model:value="userFormState.n_code"
|
||||
type="number"
|
||||
type="text"
|
||||
inputmode="numeric"
|
||||
:disabled="userFormState.is_legal == 1 || userFormState.is_legal == 2"
|
||||
/>
|
||||
</a-form-item>
|
||||
|
||||
@@ -16,6 +16,7 @@ import { getUserAvatarUrl } from '@/utils/file'
|
||||
import { useConfigStore } from '@/store/configStore'
|
||||
import { getConfigApp, isBoursecuProject, getBoursecuActionIconSrc } from '@/utils/config'
|
||||
import { getReferralShareText, getReferralShareTitle, shareReferralText } from '@/utils/referralShare'
|
||||
import { normalizeAuthFormFields } from '@/utils/persianDigits'
|
||||
|
||||
export interface UserMenuAction {
|
||||
id: string
|
||||
@@ -207,6 +208,7 @@ export function useUserPage() {
|
||||
formRef.value?.validateFields().then(async () => {
|
||||
try {
|
||||
loading.value = true
|
||||
normalizeAuthFormFields(userFormState.value)
|
||||
await updateMe(userFormState.value)
|
||||
await userStore.getMyInfo()
|
||||
localAvatarUrl.value = getUserAvatarUrl(userStore.userInfo)
|
||||
@@ -224,6 +226,7 @@ export function useUserPage() {
|
||||
formPassRef.value?.validateFields().then(async () => {
|
||||
try {
|
||||
loading.value = true
|
||||
normalizeAuthFormFields(userPassForm.value)
|
||||
await updatePass(userPassForm.value)
|
||||
await userStore.getMyInfo()
|
||||
editPassVisible.value = false
|
||||
|
||||
Reference in New Issue
Block a user