diff --git a/src/api/provider.js b/src/api/provider.js index ede21d5..62c7bdc 100644 --- a/src/api/provider.js +++ b/src/api/provider.js @@ -50,6 +50,10 @@ export const FetchProviderArticleAts = (providerArticle)=>{ return provider.post(`/${providerArticle.providerId}/ats/fetch/${providerArticle.skuID}`) } +export const GetProviderArticleAts = (providerId, pid)=>{ + return provider.get(`/${providerId}/ats/${pid}`) +} + export const FetchProviderArticleDetail = (providerId, pid)=>{ return provider.post(`/${providerId}/detail/fetch/${pid}`) } \ No newline at end of file diff --git a/src/componse/fetch-article/fetch-article-panel.vue b/src/componse/fetch-article/fetch-article-panel.vue index 7d16c47..52650e9 100644 --- a/src/componse/fetch-article/fetch-article-panel.vue +++ b/src/componse/fetch-article/fetch-article-panel.vue @@ -108,15 +108,6 @@ const onCancel=()=>{ } const confirmLoading = ref(false) - -// const selectedProvider = computed({ -// get(){ -// return providers.value.find(p=>p.providerId === data.providerId) -// }, -// set(value){ -// data.providerId = value.providerId -// } -// }) \ No newline at end of file diff --git a/src/routers/index.js b/src/routers/index.js index c4f3930..f92d5b8 100644 --- a/src/routers/index.js +++ b/src/routers/index.js @@ -1,7 +1,6 @@ import {createRouter, createWebHashHistory} from "vue-router"; import { routes } from 'vue-router/auto-routes'; - const router = createRouter({ history: createWebHashHistory(), routes:[ diff --git a/src/views/layout/Aside.vue b/src/views/layout/Aside.vue index d3cd67f..1c12984 100644 --- a/src/views/layout/Aside.vue +++ b/src/views/layout/Aside.vue @@ -8,7 +8,7 @@ > + + \ No newline at end of file