diff --git a/pages/admin/product/post/_product_id.vue b/pages/admin/product/post/_product_id.vue index 2427d0b..faaf91a 100644 --- a/pages/admin/product/post/_product_id.vue +++ b/pages/admin/product/post/_product_id.vue @@ -62,7 +62,7 @@ import {mapState} from 'vuex'; import apiConfig from '~/config/api.config'; export default { - name: "PostArticle", + name: "PostProducts", middleware: 'auth', validate({params, store}) { if (typeof params.product_id === 'undefined') { @@ -379,6 +379,7 @@ export default { window.onbeforeunload = null; }, async mounted() { + console.log('??') if (!this.hasPermissions) { return } diff --git a/pages/admin/products.vue b/pages/admin/products.vue index f94ae64..9286384 100644 --- a/pages/admin/products.vue +++ b/pages/admin/products.vue @@ -1,83 +1,125 @@