Handy_Cao 2 лет назад
Родитель
Сommit
38ca12a5e7

+ 1 - 1
src/packages/mobile/views/ballot/list/Index.vue

@@ -8,7 +8,7 @@
             </app-navbar>
         </template>
         <Banner :data-list="bannerList" @click="onBannerClick" v-if="bannerList.length" />
-        <Divider>正在抢购</Divider>
+        <Divider v-if="startList.length != 0">正在抢购</Divider>
         <template v-if="isWaterfall">
             <Waterfall class="g-goods-waterfall" :data-list="startList">
                 <template #default="{ item }">

+ 2 - 3
src/packages/pc/components/layouts/header/components/cancel/index.vue

@@ -37,9 +37,8 @@ const onCancel = (isRefresh = false) => {
 
 const onSubmit = () => {
     formSubmit().then(() => {
-        ElMessage.success('提交成功,请等待审核。').then.then(() => {
-            close(true)
-        })
+        ElMessage.success('提交成功,请等待审核。')
+        onCancel(true)
     }).catch((err) => {
         ElMessage.error('提交失败:' + err)
     })

+ 1 - 1
src/packages/pc/components/layouts/header/index.vue

@@ -38,7 +38,7 @@
 
 <script lang="ts" setup>
 import { ref, onMounted, computed, defineAsyncComponent } from 'vue'
-import { SwitchButton, Unlock, Delete, Avatar } from '@element-plus/icons-vue'
+import { SwitchButton, Unlock, Avatar } from '@element-plus/icons-vue'
 import { getFileUrl, diffDays } from '@/filters'
 import { useComponent } from '@/hooks/component'
 import { useUserStore, useGlobalStore, useNoticeStore } from '@/stores'