zweizhao 7 лет назад
Родитель
Сommit
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
       , { status, data } = await http.post(`${http.host.dev}/api/cert/getDetail`, { id: 9 })
     return {
-      detail: data
+      detail: data,
     }
   },
   data() {
-    return {
-      detail: {}
-    }
+    return {}
   },
   head() {
     return {