mirror of
https://github.com/pure-admin/vue-pure-admin.git
synced 2025-11-09 13:53:38 +08:00
perf: 优化国际化
This commit is contained in:
@@ -6,6 +6,7 @@ export default {
|
||||
|
||||
<script setup lang="ts">
|
||||
import { reactive } from "vue";
|
||||
import { $t } from "/@/plugins/i18n";
|
||||
import { VxeGridProps } from "vxe-table";
|
||||
|
||||
const gridOptions = reactive({
|
||||
@@ -29,19 +30,19 @@ const gridOptions = reactive({
|
||||
buttons: [
|
||||
{
|
||||
code: "insert_actived",
|
||||
name: "message.hsadd",
|
||||
name: $t("buttons.hsadd"),
|
||||
status: "perfect",
|
||||
icon: "fa fa-plus"
|
||||
},
|
||||
{
|
||||
code: "mark_cancel",
|
||||
name: "message.hsmark",
|
||||
name: $t("buttons.hsmark"),
|
||||
status: "perfect",
|
||||
icon: "fa fa-trash-o"
|
||||
},
|
||||
{
|
||||
code: "save",
|
||||
name: "message.hssave",
|
||||
name: $t("buttons.hssave"),
|
||||
status: "perfect",
|
||||
icon: "fa fa-save"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user