From a7fa9b2aa702f653d90e272b1e1f72ab274ea67b Mon Sep 17 00:00:00 2001 From: yujialong <479214531@qq.com> Date: Tue, 3 Aug 2021 16:56:15 +0800 Subject: [PATCH] add comment --- src/pages/account/login/index.vue | 4 ++-- src/pages/achievement/list/examResults.vue | 4 +--- src/pages/achievement/list/practiceResults.vue | 4 +--- src/pages/achievement/list/wrongBook.vue | 3 --- src/pages/achievement/statistics/index.vue | 2 ++ src/pages/assessment/monitor/index.vue | 2 +- src/pages/assessment/show/index.vue | 4 +--- src/pages/practice/scoreQuery/index.vue | 4 +--- src/pages/setting/person/index.vue | 1 - src/pages/student/list/index.vue | 2 +- src/pages/system/list/index.vue | 2 +- src/pages/system/list/role.vue | 7 ------- src/pages/testPaper/add/index.vue | 17 +++++++---------- src/pages/testPaper/review/index.vue | 4 +--- src/setting.js | 6 +++--- 15 files changed, 22 insertions(+), 44 deletions(-) diff --git a/src/pages/account/login/index.vue b/src/pages/account/login/index.vue index 3719a08..49786d7 100644 --- a/src/pages/account/login/index.vue +++ b/src/pages/account/login/index.vue @@ -29,8 +29,8 @@ export default { data: function() { return { loginForm: { - username: 'manage', - password: '111aaa', + username: '', + password: '', }, loginRules: { username: [{ required: true, message: '请输入用户名', trigger: 'blur' }], diff --git a/src/pages/achievement/list/examResults.vue b/src/pages/achievement/list/examResults.vue index 9f4c6bd..88f3061 100644 --- a/src/pages/achievement/list/examResults.vue +++ b/src/pages/achievement/list/examResults.vue @@ -187,7 +187,5 @@ export default { \ No newline at end of file diff --git a/src/pages/achievement/list/practiceResults.vue b/src/pages/achievement/list/practiceResults.vue index 6f44508..322b6cb 100644 --- a/src/pages/achievement/list/practiceResults.vue +++ b/src/pages/achievement/list/practiceResults.vue @@ -221,7 +221,5 @@ export default { \ No newline at end of file diff --git a/src/pages/achievement/list/wrongBook.vue b/src/pages/achievement/list/wrongBook.vue index d75224e..00aca07 100644 --- a/src/pages/achievement/list/wrongBook.vue +++ b/src/pages/achievement/list/wrongBook.vue @@ -263,9 +263,6 @@ export default { \ No newline at end of file diff --git a/src/pages/setting/person/index.vue b/src/pages/setting/person/index.vue index 03c9def..a21d000 100644 --- a/src/pages/setting/person/index.vue +++ b/src/pages/setting/person/index.vue @@ -179,7 +179,6 @@ - \ No newline at end of file diff --git a/src/pages/system/list/index.vue b/src/pages/system/list/index.vue index 6506eb2..7a1e945 100644 --- a/src/pages/system/list/index.vue +++ b/src/pages/system/list/index.vue @@ -69,6 +69,6 @@ export default { }; - \ No newline at end of file diff --git a/src/pages/system/list/role.vue b/src/pages/system/list/role.vue index 9432504..164c84e 100644 --- a/src/pages/system/list/role.vue +++ b/src/pages/system/list/role.vue @@ -277,13 +277,6 @@ export default { \ No newline at end of file diff --git a/src/setting.js b/src/setting.js index 102a706..898d155 100644 --- a/src/setting.js +++ b/src/setting.js @@ -15,8 +15,8 @@ const Setting = { // 页面切换时,是否显示模拟的进度条 showProgressBar: true, // 接口请求地址 - // apiBaseURL: env === 'development' ? 'http://192.168.31.151:9000' : 'http://8.134.8.197:9000', - apiBaseURL: env === 'development' ? 'http://192.168.31.151:9000' : 'http://8.134.8.197:9000', + // apiBaseURL: env === 'development' ? 'http://192.168.31.151:9000' : 'http://112.74.110.92:9000', + apiBaseURL: env === 'development' ? 'http://112.74.110.92:9000' : 'http://112.74.110.92:9000', // 接口请求返回错误时,弹窗的持续时间,单位:秒 modalDuration: 3, // 接口请求返回错误时,弹窗的类型,可选值为 Message 或 Notice @@ -58,7 +58,7 @@ const Setting = { sameRouteForceUpdate: false, // 文件上传 upload: { - apiURL: 'http://8.134.8.197:8001', + apiURL: 'http://112.74.110.92:8001', maxSize: 30, }, // 是否使用动态路由