guhongwei před 2 roky
rodič
revize
ef23896db2
3 změnil soubory, kde provedl 4 přidání a 4 odebrání
  1. 2 2
      src/store/index.js
  2. 1 1
      src/views/tvadmin/add.vue
  3. 1 1
      src/views/tvadmin/index.vue

+ 2 - 2
src/store/index.js

@@ -4,7 +4,7 @@ import * as ustate from '@common/src/store/user/state';
 import * as umutations from '@common/src/store/user/mutations';
 // 管理员
 import admin from '@common/src/store/admin';
-import test from '@common/src/store/test';
+import program from '@common/src/store/program';
 
 Vue.use(Vuex);
 
@@ -13,5 +13,5 @@ export default new Vuex.Store({
   getters: {},
   mutations: { ...umutations },
   actions: {},
-  modules: { admin, test },
+  modules: { admin, program },
 });

+ 1 - 1
src/views/tvadmin/add.vue

@@ -20,7 +20,7 @@
 <script>
 import { is_use } from '@common/src/layout/site';
 import { mapState, createNamespacedHelpers } from 'vuex';
-const { mapActions } = createNamespacedHelpers('test');
+const { mapActions } = createNamespacedHelpers('program');
 export default {
   name: 'add',
   props: {},

+ 1 - 1
src/views/tvadmin/index.vue

@@ -23,7 +23,7 @@
 <script>
 import { is_use } from '@common/src/layout/site';
 import { mapState, createNamespacedHelpers } from 'vuex';
-const { mapActions } = createNamespacedHelpers('test');
+const { mapActions } = createNamespacedHelpers('program');
 export default {
   name: 'index',
   props: {},