diff --git a/docs/content/zh/basic/unit.md b/docs/content/zh/basic/unit.md new file mode 100644 index 000000000..42103f03e --- /dev/null +++ b/docs/content/zh/basic/unit.md @@ -0,0 +1,15 @@ +--- +title: 单位制 +--- + +# 单位制 + +Newcar 提供了三种单位制:`frame`、`s` 和 `ms`。默认单位通常是秒,与应用程序绑定,除了 [Recorder](./recorder) 使用毫秒。 + +## 设置单位制 + +```ts +app.config.unit = 'frame' +app.config.unit = 's' +app.config.unit = 'ms' +``` \ No newline at end of file