소스 검색

save

master
leiyun 2 달 전
부모
커밋
6cfd1bc4e1
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. +2
    -2
      view/admin/system/sms_index.html

+ 2
- 2
view/admin/system/sms_index.html 파일 보기

@@ -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; }
}


불러오는 중...
취소
저장