abnormal_message.js 229 B

12345678
  1. import {Alert, DeviceEventEmitter} from 'react-native';
  2. import {ClearAll} from '../../data/storage';
  3. // 清空本地缓存
  4. export const CleanAll = async () => {
  5. await ClearAll();
  6. DeviceEventEmitter.emit('updateCompany');
  7. };