leiyun 2 miesięcy temu
rodzic
commit
6cfd1bc4e1
1 zmienionych plików z 2 dodań i 2 usunięć
  1. +2
    -2
      view/admin/system/sms_index.html

+ 2
- 2
view/admin/system/sms_index.html Wyświetl plik

@@ -172,12 +172,12 @@ const app = createApp({
headers: { 'Content-Type': 'application/json' },
body: JSON.stringify({ type: clearForm.type, value: clearForm.value.trim() })
}).then(r => r.json());
if (res.errno === 0) {
if (res.code === 0) {
ElementPlus.ElMessage.success('已清除');
showClearDialog.value = false;
clearForm.value = '';
} else {
ElementPlus.ElMessage.error(res.errmsg || '操作失败');
ElementPlus.ElMessage.error(res.msg || '操作失败');
}
} finally { clearLoading.value = false; }
}


Ładowanie…
Anuluj
Zapisz