From 13807d6f413ec133e8b00fd53bd852e8d088c86f Mon Sep 17 00:00:00 2001 From: RogerWork Date: Fri, 5 Jan 2024 18:20:38 +0800 Subject: [PATCH] =?UTF-8?q?1.0=E5=A2=9E=E5=8A=A0=E9=AA=8C=E8=AF=81?= =?UTF-8?q?=E5=8A=9F=E8=83=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/mock/index.vue | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/views/mock/index.vue b/src/views/mock/index.vue index 28d50f2..fe258b9 100644 --- a/src/views/mock/index.vue +++ b/src/views/mock/index.vue @@ -325,7 +325,11 @@ const handleStart = () => { console.log(selectedStatus.value) if (selectIp.value === '') { alert('请先选择影院IP!') - return + return; + } + if (checkedMockConfig.value.length===0){ + alert('请先选择要模拟的接口!') + return; } if (checkedMockConfig.value.indexOf('get_overtime_ticket_status') >= 0) { if (selectedOvertimeShowType.value === '' || selectedShowInfo.value === '' || selectedStatus.value === '') {