From 10dfbc3aca852bdebd658d7e5b75b2af5d79b105 Mon Sep 17 00:00:00 2001 From: yujialong <479214531@qq.com> Date: Wed, 14 Jul 2021 11:42:18 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8F=98=E6=9B=B4=E6=8E=A5=E5=8F=A3=E5=9C=B0?= =?UTF-8?q?=E5=9D=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/index.js | 1 + src/layouts/header/index.vue | 2 +- src/setting.js | 4 ++-- 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/src/api/index.js b/src/api/index.js index 032f13c..a55ae31 100644 --- a/src/api/index.js +++ b/src/api/index.js @@ -22,6 +22,7 @@ export default { userinfoUpdate:`management/userInfo/update`, userinfo:`management/userInfo/getUserInfo`, getAccount:`management/userInfo/getAccount`, + downloadManualTemp:`http://szks.supergen-edu.com/template/%E8%B6%85%E7%AB%9E%E6%95%B0%E5%AD%97%E5%8C%96%E8%80%83%E8%AF%95%E7%B3%BB%E7%BB%9F-%E6%93%8D%E4%BD%9C%E6%89%8B%E5%86%8C%EF%BC%88%E5%AD%A6%E7%94%9F%E7%AB%AF%EF%BC%89.pdf`, // 考试成绩 getMyAchievement: `user/testPaperRecord/getMyAchievement`, diff --git a/src/layouts/header/index.vue b/src/layouts/header/index.vue index 61ce78c..657baf1 100644 --- a/src/layouts/header/index.vue +++ b/src/layouts/header/index.vue @@ -50,7 +50,7 @@ export default { userCommand(command){ if(command == 'help'){ this.pdfVisible = true - this.pdfSrc = 'http://39.108.250.202/template/%E8%B6%85%E7%AB%9E%E6%95%B0%E5%AD%97%E5%8C%96%E8%80%83%E8%AF%95%E7%B3%BB%E7%BB%9F-%E6%93%8D%E4%BD%9C%E6%89%8B%E5%86%8C%EF%BC%88%E5%AD%A6%E7%94%9F%E7%AB%AF%EF%BC%89.pdf' + this.pdfSrc = this.api.downloadManualTemp }else if(command == 'person'){ this.$router.push('/setting/person') }else{ diff --git a/src/setting.js b/src/setting.js index 6bc0566..95860c3 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:8001' : 'http://39.108.250.202:8000', - apiBaseURL: env === 'development' ? 'http://192.168.31.151:8001' : 'http://39.108.250.202: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://8.134.8.197:9000', // 接口请求返回错误时,弹窗的持续时间,单位:秒 modalDuration: 3, // 接口请求返回错误时,弹窗的类型,可选值为 Message 或 Notice