Browse Source

自动按钮

panhui 2 năm trước cách đây
mục cha
commit
a2c2f487eb
1 tập tin đã thay đổi với 3 bổ sung0 xóa
  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'),