feat 一键蹲货功能
Some checks failed
Build image / build (push) Failing after 21s

This commit is contained in:
timerzz 2024-10-30 17:37:47 +08:00
parent 681e0b4875
commit 33cc546886
2 changed files with 8 additions and 2 deletions

View File

@ -1,8 +1,9 @@
<template>
<a-collapse-panel :key="`${provider.providerId}`" >
<template #extra>
<div class="flex space-x-4">
<div class="flex space-x-4 items-center">
<div>更新时间{{dayjs(provider.updatedAt).format('YYYY-MM-DD HH:mm:ss')}}</div>
<a-button v-if="provider.providerId==='us-coach-outlet'" type="primary" @click="OneClickWatch(provider.pid, provider.pid)">一键蹲货</a-button>
<div v-if="provider.skuID">抓取<a-switch :checked="!provider.exclude" @click="onClickExclude"/></div>
</div>
</template>
@ -44,7 +45,7 @@ import {GetProviderHistory, UpdateProviderArticle} from "@/api/articles.js";
import {message} from "ant-design-vue";
import {computed, ref, watch} from "vue";
import VChart from "vue-echarts";
import {OneClickWatch} from "@/componse/one-click-watch.js";
const props = defineProps({
provider: {

View File

@ -3,4 +3,9 @@ html,body,#app {
width: 100%;
padding: 0;
margin: 0;
}
::-webkit-scrollbar {
width: 0;
background: transparent;
}