YY 2 سال پیش
والد
کامیت
2753946225
1فایلهای تغییر یافته به همراه4 افزوده شده و 0 حذف شده
  1. 4 0
      src/views/selfShop/goods/spec.vue

+ 4 - 0
src/views/selfShop/goods/spec.vue

@@ -52,6 +52,8 @@ import methodUtil from '@/util/opera';
 import { mapState, createNamespacedHelpers } from 'vuex';
 import { mapState, createNamespacedHelpers } from 'vuex';
 const { mapActions } = createNamespacedHelpers('goodsSpec');
 const { mapActions } = createNamespacedHelpers('goodsSpec');
 const { mapActions: dictData } = createNamespacedHelpers('dictData');
 const { mapActions: dictData } = createNamespacedHelpers('dictData');
+const { mapActions: goods } = createNamespacedHelpers('goods');
+
 export default {
 export default {
   name: 'spec',
   name: 'spec',
   props: {},
   props: {},
@@ -131,6 +133,8 @@ export default {
   methods: {
   methods: {
     ...dictData({ getDict: 'query' }),
     ...dictData({ getDict: 'query' }),
     ...mapActions(['query', 'fetch', 'update', 'delete', 'create']),
     ...mapActions(['query', 'fetch', 'update', 'delete', 'create']),
+    ...goods({ goodsFetch: 'fetch' }),
+
     ...methodUtil,
     ...methodUtil,
     // 添加自定义
     // 添加自定义
     initAddData() {
     initAddData() {