zs 9 kuukautta sitten
vanhempi
commit
e7a9acc06d
3 muutettua tiedostoa jossa 3 lisäystä ja 3 poistoa
  1. 2 1
      src/views/detail/news.vue
  2. 0 1
      src/views/five/index.vue
  3. 1 1
      src/views/four/parts/index.vue

+ 2 - 1
src/views/detail/news.vue

@@ -124,11 +124,12 @@ const search = async (query = { skip, limit }) => {
   const info = {
     skip: query.skip,
     limit: query.limit,
-    type: route.query.type,
+
     status: '1',
     is_use: '0',
     ...searchForm.value
   }
+  if (route.query.type) info.type = route.query.type
   const res = await store.query(info)
   if (res.errcode == '0') {
     list.value = res.data

+ 0 - 1
src/views/five/index.vue

@@ -243,7 +243,6 @@ const getUrl = (item) => {
       background: #ffffff;
       border-radius: 10px;
       padding: 15px 0;
-      margin: 10px 0;
       .two_1_1 {
         border-bottom: 1px solid #e4e7ed;
         :deep(.el-tabs__nav-wrap:after) {

+ 1 - 1
src/views/four/parts/index.vue

@@ -498,7 +498,7 @@ const searchCompany = async () => {
 }
 const searchAchieve = async () => {
   const info = {
-    skip: 20,
+    skip: 0,
     limit: 10,
     is_use: '0',
     status: '1'