-
+ );
+ }
+
+ if (status === 'fail') {
+ return (
+
+
+ {
+ window.location.reload();
+ }}
+ >
+ {features.locales.t('reload')}
+ ,
+ ]}
+ />
+
+ );
+ }
+
+ if (userId) {
+ return (
+
+
+
+ {/* */}
+
+
+
+
+
+
+
+
+ );
+ }
+ return (
+
+
+
-
+
);
}
-export default Console;
\ No newline at end of file
+export default Console;
diff --git a/template/web/src/app/namespaces/console/locales/zh-CN.json b/template/web/src/app/namespaces/console/locales/zh-CN.json
new file mode 100644
index 0000000..8c991e4
--- /dev/null
+++ b/template/web/src/app/namespaces/console/locales/zh-CN.json
@@ -0,0 +1,4 @@
+{
+ "errorInLoading": "抱歉,页面加载出现错误!请稍后再试。",
+ "reload": "重新加载"
+}
\ No newline at end of file