更新多语言

This commit is contained in:
whyour
2023-08-05 12:33:43 +08:00
parent 0bf28e9ab3
commit b1a242c8ee
30 changed files with 186 additions and 109 deletions
+1 -1
View File
@@ -366,7 +366,7 @@ const Subscription = () => {
})
.then(({ code, data }) => {
if (code === 200) {
message.success('删除成功');
message.success(intl.get('删除成功'));
const result = [...value];
const i = result.findIndex((x) => x.id === record.id);
if (i !== -1) {
+1 -1
View File
@@ -23,7 +23,7 @@ const SubscriptionLogModal = ({
data?: string;
logUrl?: string;
}) => {
const [value, setValue] = useState<string>('启动中...');
const [value, setValue] = useState<string>(intl.get('启动中...'));
const [loading, setLoading] = useState<any>(true);
const [executing, setExecuting] = useState<any>(true);
const [isPhone, setIsPhone] = useState(false);
+1 -1
View File
@@ -392,7 +392,7 @@ const SubscriptionModal = ({
) {
return Promise.resolve();
} else {
return Promise.reject('Subscription表达式格式有误');
return Promise.reject(intl.get('Subscription表达式格式有误'));
}
},
},