提交 6535236c 编写于 作者: D dboy190

fix example code

Signed-off-by: Ndboy190 <dulei1@huawei.com>
上级 084c2a99
...@@ -275,8 +275,8 @@ File类型数据,是[UnifiedRecord](#unifiedrecord)的子类,也是文件类 ...@@ -275,8 +275,8 @@ File类型数据,是[UnifiedRecord](#unifiedrecord)的子类,也是文件类
```js ```js
let file = new UDMF.File(); let file = new UDMF.File();
file.details = { file.details = {
name: 'fileName', name: 'test',
type: 'fileType', type: 'txt',
}; };
file.uri = 'schema://com.samples.test/files/test.txt'; file.uri = 'schema://com.samples.test/files/test.txt';
``` ```
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册