feature():修改导入的方法

This commit is contained in:
lvwang2002 2024-03-28 18:51:56 +08:00
parent 91f3f220dd
commit 8ac330d8cf
1 changed files with 2 additions and 3 deletions

View File

@ -1,4 +1,3 @@
import { NativeModules } from 'react-native'; import RNMethodModule,{DYGlucoseDriver} from './RNMethodModule.js';
export {DYGlucoseDriver}
const RNMethodModule = NativeModules.RNMethodModule
export default RNMethodModule; export default RNMethodModule;