YY %!s(int64=2) %!d(string=hai) anos
pai
achega
2753946225
Modificáronse 1 ficheiros con 4 adicións e 0 borrados
  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';
 const { mapActions } = createNamespacedHelpers('goodsSpec');
 const { mapActions: dictData } = createNamespacedHelpers('dictData');
+const { mapActions: goods } = createNamespacedHelpers('goods');
+
 export default {
   name: 'spec',
   props: {},
@@ -131,6 +133,8 @@ export default {
   methods: {
     ...dictData({ getDict: 'query' }),
     ...mapActions(['query', 'fetch', 'update', 'delete', 'create']),
+    ...goods({ goodsFetch: 'fetch' }),
+
     ...methodUtil,
     // 添加自定义
     initAddData() {