import.meta.dirname
这与 import.meta.filename
的 path.dirname()
相同。
¥This is the same as the path.dirname()
of the import.meta.filename
.
警告:仅存在于
file:
模块上。¥Caveat: only present on
file:
modules.
这与 import.meta.filename
的 path.dirname()
相同。
¥This is the same as the path.dirname()
of the import.meta.filename
.
警告:仅存在于
file:
模块上。¥Caveat: only present on
file:
modules.