|
|
@@ -1,7 +1,4 @@
|
|
|
import { ref, computed } from 'vue'
|
|
|
-import { useI18n } from 'vue-i18n'
|
|
|
-
|
|
|
-const { t } = useI18n()
|
|
|
|
|
|
export interface GridSlot {
|
|
|
position: number
|
|
|
@@ -29,7 +26,7 @@ function generateId(): string {
|
|
|
function createDefaultTab(): MonitorTab {
|
|
|
return {
|
|
|
id: generateId(),
|
|
|
- name: t('监控组') + ' ' + '1',
|
|
|
+ name: 'Tab-1',
|
|
|
gridSize: 2,
|
|
|
slots: []
|
|
|
}
|
|
|
@@ -84,7 +81,7 @@ export function useMonitorStore() {
|
|
|
function addTab() {
|
|
|
const newTab: MonitorTab = {
|
|
|
id: generateId(),
|
|
|
- name: t('监控组') + ' ' + `${tabs.value.length + 1}`,
|
|
|
+ name: `Tab ${tabs.value.length + 1}`,
|
|
|
gridSize: 2,
|
|
|
slots: []
|
|
|
}
|