Skip to content

Commit a31843d

Browse files
authored
fix badge style (#1057)
1 parent 959bfa3 commit a31843d

File tree

4 files changed

+20
-20
lines changed

4 files changed

+20
-20
lines changed

src/.vuepress/sidebar_timecho/V2.0.x/en-Table.ts

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ export const enSidebar = {
104104
prefix: 'Basic-Concept/',
105105
children: [
106106
{ text: 'Database Management', link: 'Database-Management_timecho' },
107-
{ text: 'Table Management', link: 'Table-Management_timecho', badge: "new" },
107+
{ text: 'Table Management', link: 'Table-Management_timecho', badge: ['new'] },
108108
{ text: 'Write&Updata Data', link: 'Write-Updata-Data_timecho' },
109109
{ text: 'Query Data', link: 'Query-Data_timecho' },
110110
{
@@ -131,7 +131,7 @@ export const enSidebar = {
131131
{ text: 'Pattern Query', link: 'Pattern-Query_timecho' },
132132
{ text: 'Window Function', link: 'Window-Function_timecho' },
133133
],
134-
badge: "hot"
134+
badge: ['hot']
135135
},
136136
{ text: 'UDF', link: 'User-defined-function' },
137137
{
@@ -162,7 +162,7 @@ export const enSidebar = {
162162
prefix: 'AI-capability/',
163163
children: [
164164
{ text: 'AINode(V2.0.5/6)', link: 'AINode_timecho' },
165-
{ text: 'AINode(V2.0.8)', link: 'AINode_Upgrade_timecho' , badge: "hot"},
165+
{ text: 'AINode(V2.0.8)', link: 'AINode_Upgrade_timecho' , badge: ['hot']},
166166
{ text: 'TimeSeries Large Model(V2.0.5/6)', link: 'TimeSeries-Large-Model' },
167167
{ text: 'TimeSeries Large Model(V2.0.8)', link: 'TimeSeries-Large-Model_Upgrade_timecho' },
168168
],
@@ -197,13 +197,13 @@ export const enSidebar = {
197197
collapsible: true,
198198
prefix: 'API/',
199199
children: [
200-
{ text: 'Java Native API', link: 'Programming-Java-Native-API_timecho', badge: "hot" },
200+
{ text: 'Java Native API', link: 'Programming-Java-Native-API_timecho', badge: ['hot'] },
201201
{ text: 'Python Native API', link: 'Programming-Python-Native-API_timecho' },
202202
{ text: 'C++ Native API', link: 'Programming-Cpp-Native-API_timecho' },
203203
{ text: 'GO Native API', link: 'Programming-Go-Native-API_timecho' },
204204
{ text: 'C# Native API', link: 'Programming-CSharp-Native-API_timecho' },
205205
{ text: 'JDBC', link: 'Programming-JDBC_timecho' },
206-
{ text: 'ODBC', link: 'Programming-ODBC_timecho', badge: "new" },
206+
{ text: 'ODBC', link: 'Programming-ODBC_timecho', badge: ['new'] },
207207
{ text: 'MQTT Protocol', link: 'Programming-MQTT_timecho' },
208208
{ text: 'RESTAPI V1 ', link: 'RestAPI-V1_timecho' },
209209
],

src/.vuepress/sidebar_timecho/V2.0.x/en-Tree.ts

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ export const enSidebar = {
7474
children: [
7575
{
7676
text: 'Stand-Alone Deployment',
77-
link: 'Stand-Alone-Deployment_timecho', badge: "hot"
77+
link: 'Stand-Alone-Deployment_timecho', badge: ['hot']
7878
},
7979
{ text: 'Cluster Deployment', link: 'Cluster-Deployment_timecho' },
8080
{
@@ -113,7 +113,7 @@ export const enSidebar = {
113113
children: [
114114
{
115115
text: 'Data Modeling',
116-
link: 'Operate-Metadata_timecho', badge: "new"
116+
link: 'Operate-Metadata_timecho', badge: ['new']
117117
},
118118
{ text: 'Write Data', link: 'Write-Data_timecho' },
119119
{ text: 'Query Data', link: 'Query-Data_timecho' },
@@ -173,7 +173,7 @@ export const enSidebar = {
173173
prefix: 'AI-capability/',
174174
children: [
175175
{ text: 'AINode(V2.0.5/6)', link: 'AINode_timecho' },
176-
{ text: 'AINode(V2.0.8)', link: 'AINode_Upgrade_timecho', badge: "hot" },
176+
{ text: 'AINode(V2.0.8)', link: 'AINode_Upgrade_timecho', badge: ['hot'] },
177177
{ text: 'TimeSeries Large Model(V2.0.5/6)', link: 'TimeSeries-Large-Model' },
178178
{ text: 'TimeSeries Large Model(V2.0.8)', link: 'TimeSeries-Large-Model_Upgrade_timecho' },
179179
],
@@ -222,7 +222,7 @@ export const enSidebar = {
222222
{ text: 'Node.js Native API', link: 'Programming-NodeJS-Native-API' },
223223
{ text: 'Rust Native API', link: 'Programming-Rust-Native-API' },
224224
{ text: 'JDBC', link: 'Programming-JDBC_timecho' },
225-
{ text: 'ODBC', link: 'Programming-ODBC_timecho', badge: "new" },
225+
{ text: 'ODBC', link: 'Programming-ODBC_timecho', badge: ['new'] },
226226
{ text: 'MQTT Protocol', link: 'Programming-MQTT_timecho' },
227227
{ text: 'OPC UA Protocol', link: 'Programming-OPC-UA_timecho' },
228228
{ text: 'OPC DA Protocol', link: 'Programming-OPC-DA_timecho' },
@@ -301,7 +301,7 @@ export const enSidebar = {
301301
{ text: 'QuickStart Only SQL', link: 'QuickStart-Only-Sql_timecho' },
302302
{ text: 'Identifiers', link: 'Syntax-Rule' },
303303
{ text: 'Keywords', link: 'Keywords' },
304-
{ text: 'SQL Manual', link: 'SQL-Manual_timecho', badge: "hot" },
304+
{ text: 'SQL Manual', link: 'SQL-Manual_timecho', badge: ['hot'] },
305305
{
306306
text: 'Functions and Operators',
307307
collapsible: true,

src/.vuepress/sidebar_timecho/V2.0.x/zh-Table.ts

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ export const zhSidebar = {
9595
prefix: 'Basic-Concept/',
9696
children: [
9797
{ text: '数据库管理', link: 'Database-Management_timecho' },
98-
{ text: '表管理', link: 'Table-Management_timecho', badge: "new" },
98+
{ text: '表管理', link: 'Table-Management_timecho', badge: ['new'] },
9999
{ text: '写入&更新', link: 'Write-Updata-Data_timecho' },
100100
{ text: '数据查询', link: 'Query-Data_timecho' },
101101
{
@@ -122,7 +122,7 @@ export const zhSidebar = {
122122
{ text: '模式查询', link: 'Pattern-Query_timecho' },
123123
{ text: '窗口函数', link: 'Window-Function_timecho' },
124124
],
125-
badge: "hot"
125+
badge: ['hot']
126126
},
127127
{ text: 'UDF', link: 'User-defined-function' },
128128
{
@@ -153,7 +153,7 @@ export const zhSidebar = {
153153
prefix: 'AI-capability/',
154154
children: [
155155
{ text: 'AINode(V2.0.5/6)', link: 'AINode_timecho' },
156-
{ text: 'AINode(V2.0.8)', link: 'AINode_Upgrade_timecho', badge: "hot"},
156+
{ text: 'AINode(V2.0.8)', link: 'AINode_Upgrade_timecho', badge: ['hot']},
157157
{ text: '时序大模型(V2.0.5/6)', link: 'TimeSeries-Large-Model' },
158158
{ text: '时序大模型(V2.0.8)', link: 'TimeSeries-Large-Model_Upgrade_timecho' },
159159
],
@@ -188,13 +188,13 @@ export const zhSidebar = {
188188
collapsible: true,
189189
prefix: 'API/',
190190
children: [
191-
{ text: 'Java原生接口', link: 'Programming-Java-Native-API_timecho', badge: "hot" },
191+
{ text: 'Java原生接口', link: 'Programming-Java-Native-API_timecho', badge: ['hot'] },
192192
{ text: 'Python原生接口', link: 'Programming-Python-Native-API_timecho' },
193193
{ text: 'C++原生接口', link: 'Programming-Cpp-Native-API_timecho' },
194194
{ text: 'GO原生接口', link: 'Programming-Go-Native-API_timecho' },
195195
{ text: 'C#原生接口', link: 'Programming-CSharp-Native-API_timecho' },
196196
{ text: 'JDBC', link: 'Programming-JDBC_timecho' },
197-
{ text: 'ODBC', link: 'Programming-ODBC_timecho', badge: "new" },
197+
{ text: 'ODBC', link: 'Programming-ODBC_timecho', badge: ['new'] },
198198
{ text: 'MQTT协议', link: 'Programming-MQTT_timecho' },
199199
{ text: 'RESTAPI V1 ', link: 'RestServiceV1_timecho' },
200200
],

src/.vuepress/sidebar_timecho/V2.0.x/zh-Tree.ts

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ export const zhSidebar = {
6666
text: '数据库部署',
6767
collapsible: true,
6868
children: [
69-
{ text: '单机版部署', link: 'Stand-Alone-Deployment_timecho', badge: "hot" },
69+
{ text: '单机版部署', link: 'Stand-Alone-Deployment_timecho', badge: ['hot'] },
7070
{ text: '集群版部署', link: 'Cluster-Deployment_timecho' },
7171
{ text: '双活版部署', link: 'Dual-Active-Deployment_timecho' },
7272
{ text: 'Docker 部署', link: 'Docker-Deployment_timecho' },
@@ -96,7 +96,7 @@ export const zhSidebar = {
9696
collapsible: true,
9797
prefix: 'Basic-Concept/',
9898
children: [
99-
{ text: '测点管理', link: 'Operate-Metadata_timecho', badge: "new" },
99+
{ text: '测点管理', link: 'Operate-Metadata_timecho', badge: ['new'] },
100100
{ text: '数据写入', link: 'Write-Data_timecho' },
101101
{ text: '数据查询', link: 'Query-Data_timecho' },
102102
{
@@ -155,7 +155,7 @@ export const zhSidebar = {
155155
prefix: 'AI-capability/',
156156
children: [
157157
{ text: 'AINode(V2.0.5/6)', link: 'AINode_timecho' },
158-
{ text: 'AINode(V2.0.8)', link: 'AINode_Upgrade_timecho', badge: "hot" },
158+
{ text: 'AINode(V2.0.8)', link: 'AINode_Upgrade_timecho', badge: ['hot'] },
159159
{ text: '时序大模型(V2.0.5/6)', link: 'TimeSeries-Large-Model' },
160160
{ text: '时序大模型(V2.0.8)', link: 'TimeSeries-Large-Model_Upgrade_timecho' },
161161
],
@@ -204,7 +204,7 @@ export const zhSidebar = {
204204
{ text: 'Node.js原生接口', link: 'Programming-NodeJS-Native-API' },
205205
{ text: 'Rust', link: 'Programming-Rust-Native-API' },
206206
{ text: 'JDBC', link: 'Programming-JDBC_timecho' },
207-
{ text: 'ODBC', link: 'Programming-ODBC_timecho', badge: "new" },
207+
{ text: 'ODBC', link: 'Programming-ODBC_timecho', badge: ['new'] },
208208
{ text: 'MQTT协议', link: 'Programming-MQTT_timecho' },
209209
{ text: 'OPC UA协议', link: 'Programming-OPC-UA_timecho' },
210210
{ text: 'OPC DA协议', link: 'Programming-OPC-DA_timecho' },
@@ -283,7 +283,7 @@ export const zhSidebar = {
283283
{ text: '快速 SQL 体验', link: 'QuickStart-Only-Sql_timecho' },
284284
{ text: '标识符', link: 'Syntax-Rule' },
285285
{ text: '关键字', link: 'Keywords' },
286-
{ text: 'SQL手册', link: 'SQL-Manual_timecho', badge: "hot" },
286+
{ text: 'SQL手册', link: 'SQL-Manual_timecho', badge: ['hot'] },
287287
{
288288
text: '函数与运算符',
289289
collapsible: true,

0 commit comments

Comments
 (0)