|
@@ -29,8 +29,11 @@
|
|
|
import { useI18n } from 'vue-i18n'
|
|
import { useI18n } from 'vue-i18n'
|
|
|
import useUserStore from '@/stores/use-user-store'
|
|
import useUserStore from '@/stores/use-user-store'
|
|
|
import useRouter from '@/hooks/useRouter'
|
|
import useRouter from '@/hooks/useRouter'
|
|
|
|
|
+ import useRoute from '@/hooks/useRoute'
|
|
|
|
|
+
|
|
|
|
|
|
|
|
const router = useRouter()
|
|
const router = useRouter()
|
|
|
|
|
+ const route = useRoute()
|
|
|
const { userInfo } = useUserStore()
|
|
const { userInfo } = useUserStore()
|
|
|
const { t } = useI18n()
|
|
const { t } = useI18n()
|
|
|
const customInfo = computed(() => {
|
|
const customInfo = computed(() => {
|
|
@@ -39,7 +42,8 @@
|
|
|
|
|
|
|
|
const isPerfectInfo = computed(() => {
|
|
const isPerfectInfo = computed(() => {
|
|
|
const {status,applyRealStatus} = userInfo.customInfo
|
|
const {status,applyRealStatus} = userInfo.customInfo
|
|
|
- return status === 2 || applyRealStatus == 1|| applyRealStatus ==2
|
|
|
|
|
|
|
+ console.log(route)
|
|
|
|
|
+ return (status === 2 || applyRealStatus == 1|| applyRealStatus ==2) && route.path != '/pages/mine/improveImmediately'
|
|
|
})
|
|
})
|
|
|
|
|
|
|
|
function immediately() {
|
|
function immediately() {
|