mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/learning-system-portal.git
synced 2025-12-15 05:46:43 +08:00
fix:校验报名审批接口调整
This commit is contained in:
@@ -142,7 +142,11 @@ export default {
|
||||
|
||||
// 报名按钮点击
|
||||
async handleEnrollClick() {
|
||||
if (this.approvalResults == "1" || this.approvalResults == "4") {
|
||||
if (
|
||||
!this.approvalResults ||
|
||||
this.approvalResults == "1" ||
|
||||
this.approvalResults == "4"
|
||||
) {
|
||||
this.enrollLoading = true;
|
||||
try {
|
||||
const res = await enrollRequest();
|
||||
|
||||
Reference in New Issue
Block a user