liuyg
2021-11-03 ad22bccdb0bd1cee5d038b56f4d23a560c368e27
src/store/modules/dict.js
@@ -5,6 +5,7 @@
const dict = {
  state: {
    flowRoutes: getStore({name: 'flowRoutes'}) || {},
    rotesData: false,
  },
  actions: {
    FlowRoutes({commit}) {
@@ -17,6 +18,7 @@
        })
      })
    },
  },
  mutations: {
    SET_FLOW_ROUTES: (state, data) => {
@@ -28,6 +30,9 @@
      });
      setStore({name: 'flowRoutes', content: state.flowRoutes})
    },
    setRotesData(state, data) {
      state.rotesData = data;
    }
  }
};