zweizhao 7 роки тому
батько
коміт
d6745c99be
1 змінених файлів з 2 додано та 4 видалено
  1. 2 4
      pages/index/cert/freelancer.vue

+ 2 - 4
pages/index/cert/freelancer.vue

@@ -37,13 +37,11 @@ export default {
     let id = ctx.query.id
     let id = ctx.query.id
       , { status, data } = await http.post(`${http.host.dev}/api/cert/getDetail`, { id: 9 })
       , { status, data } = await http.post(`${http.host.dev}/api/cert/getDetail`, { id: 9 })
     return {
     return {
-      detail: data
+      detail: data,
     }
     }
   },
   },
   data() {
   data() {
-    return {
-      detail: {}
-    }
+    return {}
   },
   },
   head() {
   head() {
     return {
     return {