fix: rebuild MES as compilable go-zero+ent backend (renamed bj_power_mes), restore 3 workstation projects from pristine original, align naming; all Go projects go build clean

This commit is contained in:
SunYF
2026-08-27 10:56:41 +08:00
parent 380715f8a9
commit 371b494c54
523 changed files with 67923 additions and 24758 deletions
@@ -17,7 +17,6 @@ import useLocalStore from '@/stores/local'
import useGlobalStore from '@/stores'
import PasswordChangeModal from '@/components/change-password'
import Logo from '@/assets/logo.png'
import { useLoginApi } from '@/api/login'
export default () => {
const navigate = useNavigate()
@@ -26,7 +25,6 @@ export default () => {
const { userInfo, clear, isDark, locale, setDark, changeLocale } =
useLocalStore(state => state)
const { connected } = useGlobalStore(state => state)
const loginApi = useLoginApi()
const [isPasswordModalVisible, setIsPasswordModalVisible] = useState(false) // 添加状态管理
@@ -39,8 +37,6 @@ export default () => {
}
const logout = () => {
// 业务影响:退出登录时通知后端删除 refresh token,防止 token 被复用
loginApi.signOut({}).catch(() => {})
clear()
navigate('/login')
}