diff --git a/README.md b/README.md new file mode 100644 index 0000000..767e6f9 --- /dev/null +++ b/README.md @@ -0,0 +1 @@ +# 中台前端 \ No newline at end of file diff --git a/src/store/index.js b/src/store/index.js index d3b1c2b..acd9371 100644 --- a/src/store/index.js +++ b/src/store/index.js @@ -22,7 +22,8 @@ const store = new Vuex.Store({ btns: [], routes: [], customerPage: 1, - matchPage: 1 + matchPage: 1, + platformSource: 0 }, actions: { setSystemId({ state,commit },systemId) { @@ -87,6 +88,9 @@ const store = new Vuex.Store({ SET_M_PAGE: (state, page) => { state.matchPage = page }, + SET_M_SOURCE: (state, platformSource) => { + state.platformSource = platformSource + }, } }); diff --git a/src/views/course/AddCurriculum.vue b/src/views/course/AddCurriculum.vue index 3f579b4..19b015b 100644 --- a/src/views/course/AddCurriculum.vue +++ b/src/views/course/AddCurriculum.vue @@ -278,9 +278,9 @@