|
@@ -9,6 +9,7 @@ import { firstCharToLowerCase, handleRequest } from '@/utils/tool'; |
|
|
import { useCallback } from 'react'; |
|
|
import { useCallback } from 'react'; |
|
|
import system from '@/services/system'; |
|
|
import system from '@/services/system'; |
|
|
import { useEffect } from 'react'; |
|
|
import { useEffect } from 'react'; |
|
|
|
|
|
import storage from '@/utils/storage'; |
|
|
|
|
|
|
|
|
const columns = [ |
|
|
const columns = [ |
|
|
{ |
|
|
{ |
|
@@ -65,6 +66,7 @@ export default function SyncModal(props: SyncModalProps) { |
|
|
setBtnLoading(false); |
|
|
setBtnLoading(false); |
|
|
handleRequest(res!).success(() => { |
|
|
handleRequest(res!).success(() => { |
|
|
setModalVisible(false); |
|
|
setModalVisible(false); |
|
|
|
|
|
storage.set('isNotFirstLogin', 'true', true); |
|
|
if (propsOnOk) { |
|
|
if (propsOnOk) { |
|
|
propsOnOk(e); |
|
|
propsOnOk(e); |
|
|
} |
|
|
} |
|
|