Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
  • Loading branch information
skyclouds2001 committed May 14, 2024
1 parent 3ee0432 commit 711d26c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions files/zh-cn/web/api/filesystemhandle/remove/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ l10n:

`remove()` 方法允许你用对应的句柄直接移除一个文件或一个目录。如果没有这个方法,你就必须先获取句柄的父目录,然后调用其上的 {{domxref("FileSystemDirectoryHandle.removeEntry()")}} 来移除文件或目录。

你也可以在[源私有文件系统](/zh-CN/docs/Web/API/File_System_API#源私有文件系统)的根目录上调用 `remove()` 来清除其内容,此后一个新的空的源私有文件系统会被创建
你也可以在[源私有文件系统](/zh-CN/docs/Web/API/File_System_API#源私有文件系统)的根目录上调用 `remove()` 来清除其内容,此后一个新的空源私有文件系统会被创建

## 语法

Expand Down Expand Up @@ -80,7 +80,7 @@ async function deleteFile(e) {

## 规范

此特性不属于任何规范的一部分,但将来可能会成为标准。有关详细信息,请参阅 [_whatwg/fs#9_](https://github.com/whatwg/fs/pull/9)
此特性不属于任何规范的一部分,但将来可能会成为标准的一部分。有关详细信息,请参阅 [_whatwg/fs#9_](https://github.com/whatwg/fs/pull/9)

## 浏览器兼容性

Expand Down

0 comments on commit 711d26c

Please sign in to comment.