소스 검색

自动按钮

panhui 3 년 전
부모
커밋
a2c2f487eb
1개의 변경된 파일3개의 추가작업 그리고 0개의 파일을 삭제
  1. 3 0
      src/views/MinePage.vue

+ 3 - 0
src/views/MinePage.vue

@@ -476,6 +476,9 @@ const maxPrice = ref(0)
 const minPrice = ref(0)
 
 function changeAuto() {
+    if (!isVip.value) {
+        return
+    }
     if (userVip.value.autoTradeEnabled) {
         showConfirmDialog({
             title: t('common.alert'),