Skip to content

Commit 4b52f9b

Browse files
committed
fix:playLocal
fix:playLocal
1 parent 0241639 commit 4b52f9b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

NIM.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,7 @@ export default class NIM{
158158
if(Platform.OS === 'ios'){
159159
return RNNeteaseIm.playLocal(name,type);
160160
}
161-
return RNNeteaseIm.playLocal("assets://"+name,type);
161+
return RNNeteaseIm.playLocal("assets:///"+name,type);
162162
}
163163
/**
164164
* 停止播放录音

0 commit comments

Comments
 (0)