Skip to content
This repository has been archived by the owner on Sep 8, 2024. It is now read-only.

Commit

Permalink
docs: translate unit.md to chinese (#80)
Browse files Browse the repository at this point in the history
---
name: Contribute to Newcar
about: Have a contribution to Newcar! Thank you!
---

**Description:** docs: translate unit.md to chinese

**Related Issues:** [List the issue numbers related to this PR]

**TODO**

**Checklist:**

- [ ]  Code has been reviewed
- [ ] Code complies with the project's code standards and best practices
- [ ]  Code has passed all tests
- [ ]  Code does not affect the normal use of existing features
- [x]  Documentation has been updated

**Screenshots:** [Provide relevant screenshots or GIF animations]
  • Loading branch information
xs10l3 authored Aug 1, 2024
2 parents 2cc38c2 + 11285ec commit ab00edb
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions docs/content/zh/basic/unit.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
---
title: 单位制
---

# 单位制

Newcar 提供了三种单位制:`frame``s``ms`。默认单位通常是秒,与应用程序绑定,除了 [Recorder](./recorder) 使用毫秒。

## 设置单位制

```ts
app.config.unit = 'frame'
app.config.unit = 's'
app.config.unit = 'ms'
```

0 comments on commit ab00edb

Please sign in to comment.