document.addEventListener( "plusready", onPlusReady, false );
function onPlusReady() {
plus.io.resolveLocalFileSystemURL( "doc/ghData.txt", function( entry ) {
console.log(1111111111111)
entry.createWriter( function ( writer ) {
writer.onwrite = function ( e ) {
console.log( "Write data success!" );
};
writer.write( "New data!" );
}, function ( e ) {
alert( e.message );
} );
}, function ( e ) {
console.log( "Resolve file URL failed: " + e.message );
} );
}
1***@163.com
- 发布:2017-11-01 09:53
- 更新:2017-11-01 09:53
- 阅读:861
writer 写入数据提示编码错误
分类:HTML5+
0 个回复