This commit is contained in:
xiaojunnuo
2024-12-01 03:09:29 +08:00
parent 2bc3456400
commit 15740a6d8a
3 changed files with 8 additions and 5 deletions
@@ -79,16 +79,19 @@ defineOptions({
});
const testMobile = ref("");
function testSendSms() {
async function testSendSms() {
if (!testMobile.value) {
notification.error({
message: "请输入测试手机号"
});
return;
}
api.TestSms({
await api.TestSms({
mobile: testMobile.value
});
notification.success({
message: "发送成功"
});
}
const formState = reactive<Partial<SysSettings>>({
public: {