|
|
@@ -38,8 +38,6 @@ const CheckAccess = memo((props: { record: any, count: number, access: any }) =>
|
|
|
const [confirmText, setConfirmText] = useState('')
|
|
|
const [subConfirmText, setSubConfirmText] = useState('')
|
|
|
const user = useSelector((state: any) => state.user);
|
|
|
- const [rnKeep, setRnKeep] = useState(true)
|
|
|
-
|
|
|
const { t } = useTranslation()
|
|
|
|
|
|
//判断选择混合场景,如果成功了,就弹窗
|
|
|
@@ -108,8 +106,6 @@ const CheckAccess = memo((props: { record: any, count: number, access: any }) =>
|
|
|
// };
|
|
|
|
|
|
function viewWillAppear() {
|
|
|
- console.log('access page appear')
|
|
|
- setRnKeep(true)
|
|
|
if (checkChooseMixed && chooseMixedSuccess) {
|
|
|
upgradeSuccess()
|
|
|
confirmAction = null
|
|
|
@@ -119,8 +115,6 @@ const CheckAccess = memo((props: { record: any, count: number, access: any }) =>
|
|
|
}
|
|
|
|
|
|
function viewWillDisappear() {
|
|
|
- console.log('access page disappear')
|
|
|
- setRnKeep(false)
|
|
|
}
|
|
|
|
|
|
// useDidShow(() => {
|