diff --git a/locales/en.yaml b/locales/en.yaml index 29f983d7a..797eb03f7 100644 --- a/locales/en.yaml +++ b/locales/en.yaml @@ -60,6 +60,7 @@ menus: hsDatePicker: Date Picker hsDateTimePicker: DateTimePicker hsTimePicker: TimePicker + hsTag: Tag hsStatistic: Statistic hsmenus: MultiLevel Menu hsmenu1: Menu1 diff --git a/locales/zh-CN.yaml b/locales/zh-CN.yaml index 5c7f396c9..02379836d 100644 --- a/locales/zh-CN.yaml +++ b/locales/zh-CN.yaml @@ -60,6 +60,7 @@ menus: hsDatePicker: 日期选择器 hsDateTimePicker: 日期时间选择器 hsTimePicker: 时间选择器 + hsTag: 标签 hsStatistic: 统计组件 hsmenus: 多级菜单 hsmenu1: 菜单1 diff --git a/src/router/modules/components.ts b/src/router/modules/components.ts index 978a933c8..0e446ec03 100644 --- a/src/router/modules/components.ts +++ b/src/router/modules/components.ts @@ -107,6 +107,14 @@ export default { title: $t("menus.hsbutton") } }, + { + path: "/components/tag", + name: "PureTag", + component: () => import("@/views/components/tag.vue"), + meta: { + title: $t("menus.hsTag") + } + }, { path: "/components/statistic", name: "Statistic", diff --git a/src/views/components/statistic.vue b/src/views/components/statistic.vue index 478ba59c0..e36cc4f59 100644 --- a/src/views/components/statistic.vue +++ b/src/views/components/statistic.vue @@ -56,13 +56,13 @@ function reset() { format="HH:mm:ss" :value="value1" /> - - Reset + + 重置 - +