Commit 7c348a93245e922d40409c417bcafc7344d0e1e6
1 parent
ccc64bde
忽略
Showing
1 changed file
with
3 additions
and
8 deletions
README.md
| ... | ... | @@ -15,7 +15,7 @@ |
| 15 | 15 | 字典操作全部由前端负责,主要有2种。 |
| 16 | 16 | |
| 17 | 17 | 1、将字典代码转换为中文 。片段加载完成后,包含 `class="nt-dictionary"` 的标签会被转换,data-group 为所属字典组。 |
| 18 | -``` javascript | |
| 18 | +``` html | |
| 19 | 19 | <!-- 原 --> |
| 20 | 20 | <span class="nt-dictionary" data-group="XianLuXingZhi">GJXL</span> |
| 21 | 21 | |
| ... | ... | @@ -23,7 +23,7 @@ |
| 23 | 23 | <span class="dictionary" data-group="XianLuXingZhi" data-code="GJXL" >过江线路</span> |
| 24 | 24 | ``` |
| 25 | 25 | 2、生成下拉框,当包含`class="nt-dictionary"` 的标签是`select`时。 |
| 26 | -``` javascript | |
| 26 | +``` html | |
| 27 | 27 | <!-- 原 --> |
| 28 | 28 | <select class="nt-dictionary" data-group="XianLuXingZhi" data-code="GJXL"></select> |
| 29 | 29 | |
| ... | ... | @@ -59,9 +59,4 @@ |
| 59 | 59 | | timestamp | long | 时间戳 | |
| 60 | 60 | | speed | float | 速度| |
| 61 | 61 | | direction | float | 方向(角度) | |
| 62 | -| upDown | int | 上下行(0 上行 , 1 下行 , -1 无效)| | |
| 63 | - | |
| 64 | - | |
| 65 | - | |
| 66 | - | |
| 67 | - | |
| 62 | +| upDown | int | 上下行(0 上行 , 1 下行 , -1 无效)| | |
| 68 | 63 | \ No newline at end of file | ... | ... |