From 4d98052b9a014c202469625cf9848a05ae6e7645 Mon Sep 17 00:00:00 2001 From: yujialong <479214531@qq.com> Date: Mon, 25 Jul 2022 17:54:24 +0800 Subject: [PATCH] =?UTF-8?q?=E9=80=89=E6=8B=A9=E8=AF=BE=E7=A8=8B=E7=AD=89?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 1 + src/store/index.js | 6 ++++- src/views/course/AddCurriculum.vue | 39 +++++++++++++++++++----------- src/views/match/list/index.vue | 18 +++++++++++--- src/views/match/manage/index.vue | 2 +- src/views/match/preview/index.vue | 6 ++++- 6 files changed, 52 insertions(+), 20 deletions(-) create mode 100644 README.md 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 @@