From 46f79b491173d284a4900d19e7aecf7509481438 Mon Sep 17 00:00:00 2001 From: king <18310653075@163.com> Date: 星期五, 21 一月 2022 17:21:25 +0800 Subject: [PATCH] 2022-01-21 --- src/components/404/index.jsx | 8 ++------ 1 files changed, 2 insertions(+), 6 deletions(-) diff --git a/src/components/404/index.jsx b/src/components/404/index.jsx index 4f3ac7d..3177018 100644 --- a/src/components/404/index.jsx +++ b/src/components/404/index.jsx @@ -1,10 +1,6 @@ -import React, {Component} from 'react' +import React, { Component } from 'react' import Lostsvg from '@/components/lostsvg' -import zhCN from '@/locales/zh-CN/main.js' -import enUS from '@/locales/en-US/main.js' import './index.scss' - -const _dict = sessionStorage.getItem('lang') !== 'en-US' ? zhCN : enUS class NotFound extends Component { render () { @@ -15,7 +11,7 @@ <Lostsvg /> </div> <div className="ant-result-title">404</div> - <div className="ant-result-subtitle">{this.props.msg ? this.props.msg : _dict['main.view.notFound']}</div> + <div className="ant-result-subtitle">{this.props.msg ? this.props.msg : '鎶辨瓑锛屾偍璁块棶鐨勯〉闈笉瀛樺湪锛岃鑱旂郴绠$悊鍛樸��'}</div> </div> </main> ) -- Gitblit v1.8.0