1. fix i18
This commit is contained in:
2025-11-02 02:39:15 +08:00
parent 2a03c41a3e
commit ad2490b296
4 changed files with 7 additions and 9 deletions

View File

@@ -16,7 +16,7 @@ export default {
}, },
upload: { upload: {
upload: 'upload', upload: 'upload',
tip: 'Drag files here,/', tip: 'Drag files here,',
}, },
date: { date: {
start: 'Start date', start: 'Start date',

View File

@@ -7,7 +7,7 @@
<template #dropdown> <template #dropdown>
<el-dropdown-menu> <el-dropdown-menu>
<el-dropdown-item> <el-dropdown-item>
<div>{{ userInfo.userName }}</div> <div>[ {{ userInfo.userName }} ]</div>
</el-dropdown-item> </el-dropdown-item>
<el-dropdown-item> <el-dropdown-item>
<div @click="switchTheme">exit theme</div> <div @click="switchTheme">exit theme</div>
@@ -126,7 +126,7 @@ export default {
setTimeout(() => location.reload()); setTimeout(() => location.reload());
}, },
logout() { logout() {
this.$store.commit('SET_THEME_NAME', ''); // this.$store.commit('SET_THEME_NAME', '');
this.$store.dispatch('LogOut').then(() => { this.$store.dispatch('LogOut').then(() => {
this.$router.push({ path: '/login' }); this.$router.push({ path: '/login' });
setTimeout(() => location.reload()); setTimeout(() => location.reload());

View File

@@ -2,12 +2,9 @@
<div class="mac_bg"></div> <div class="mac_bg"></div>
<div class="login animate__animated" :class="{ animate__bounceOut: pass }"> <div class="login animate__animated" :class="{ animate__bounceOut: pass }">
<div class="head"> <div class="head">
<img <img src="/img/logo.png" alt=""/>
src="/img/logo.png"
alt=""
/>
</div> </div>
<!-- <div class="message">MMS Login</div>--> <div class="message">MMS Login</div>
<div class="form"> <div class="form">
<div class="item" :class="isUserNameError ? 'error' : ''"> <div class="item" :class="isUserNameError ? 'error' : ''">
<input class="account" placeholder="account here..." v-model="form.username" type="email" /> <input class="account" placeholder="account here..." v-model="form.username" type="email" />

View File

@@ -55,7 +55,8 @@ export default ({
proxy: { proxy: {
'/api': { '/api': {
// target: 'https://bmapi.tttzai.com/', // target: 'https://bmapi.tttzai.com/',
target: 'http://localhost', // target: 'http://localhost',
target: 'http://192.168.31.132:8080',
changeOrigin: true, changeOrigin: true,
rewrite: path => path.replace(/^\/api/, ''), rewrite: path => path.replace(/^\/api/, ''),
}, },