mirror of
https://github.com/MCSManager/MCSManager.git
synced 2024-12-03 07:20:16 +08:00
Optimize: prompt text
This commit is contained in:
parent
82ba10708b
commit
888ea09759
@ -13,9 +13,10 @@ const zipCode = ref();
|
||||
|
||||
const submit = async () => {
|
||||
try {
|
||||
emit("selectCode", zipCode);
|
||||
if (!zipCode.value) throw new Error(t("请选择解压编码"));
|
||||
emit("selectCode", zipCode.value);
|
||||
open.value = false;
|
||||
return message.success(t("TXT_CODE_d3de39b4"));
|
||||
return message.success(t("设置成功"));
|
||||
} catch (err: any) {
|
||||
return message.error(err.message);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user