diff --git a/src/layouts/home/index.vue b/src/layouts/home/index.vue
index 3409a83..f31850c 100644
--- a/src/layouts/home/index.vue
+++ b/src/layouts/home/index.vue
@@ -61,7 +61,7 @@ export default {
.content {
min-height: calc(100vh - 176px);
- padding: 24px 24px 0;
+ padding: 24px 24px;
}
}
\ No newline at end of file
diff --git a/src/pages/account/login/index.vue b/src/pages/account/login/index.vue
index 008fc94..caacd91 100644
--- a/src/pages/account/login/index.vue
+++ b/src/pages/account/login/index.vue
@@ -198,7 +198,7 @@ export default {
this.loginForm.phone = this.phone;
this.phoneVisible = false;
- util.local.set(Setting.tokenKey, res.data.token, Setting.tokenExpires);
+ util.local.set(Setting.tokenKey, res.token, Setting.tokenExpires);
let redirect = this.$route.query.redirect ? decodeURIComponent(this.$route.query.redirect) : "/index";
this.$router.replace(redirect);
util.successMsg("登录成功");
diff --git a/src/pages/assessment/list/index.vue b/src/pages/assessment/list/index.vue
index 88d551b..ee3b783 100644
--- a/src/pages/assessment/list/index.vue
+++ b/src/pages/assessment/list/index.vue
@@ -373,7 +373,7 @@ export default {
delAllData() {
if (this.multipleSelection.length) {
let ids = this.multipleSelection.map(item => {
- return item.projectId;
+ return item.id;
});
this.$confirm("确定要删除吗?", "提示", {
type: "warning"
diff --git a/src/pages/course/contentSettings/index.vue b/src/pages/course/contentSettings/index.vue
index de256ad..de42663 100644
--- a/src/pages/course/contentSettings/index.vue
+++ b/src/pages/course/contentSettings/index.vue
@@ -118,6 +118,7 @@
:on-exceed="handleExceed"
:action="this.api.fileupload"
:file-list="uploadList"
+ :headers="headers"
name="file"
>
上传资源
diff --git a/src/pages/match/manage/matchDetail.vue b/src/pages/match/manage/matchDetail.vue
index c0d0da4..b055d78 100644
--- a/src/pages/match/manage/matchDetail.vue
+++ b/src/pages/match/manage/matchDetail.vue
@@ -14,6 +14,7 @@
:limit="1"
:on-exceed="handleExceed"
:action="this.api.fileupload"
+ :headers="headers"
name="file"
>
@@ -37,6 +38,7 @@
:limit="1"
:on-exceed="handleExceed"
:action="this.api.fileupload"
+ :headers="headers"
name="file"
>
@@ -103,12 +105,16 @@