no message

This commit is contained in:
CN32479-詹红柱 2021-08-18 20:48:44 +08:00
parent 7e4a538f5e
commit bbd4af9ce7
4 changed files with 508 additions and 71 deletions

574
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@ -12,6 +12,8 @@
"element-plus": "^1.0.2-beta.70",
"granim": "^2.0.0",
"gsap": "^3.7.0",
"js-cookie": "^3.0.0",
"leancloud-storage": "^4.11.1",
"vue": "^3.0.0"
},
"devDependencies": {

View File

@ -215,6 +215,7 @@ export default {
}).then(() => {
const params = { username: '', password: '' }
Api.logout(params.username, params.password).then((res) => {
console.log(res)
Cookie.remove('userInfo')
setUsername()
})

View File

@ -5,7 +5,7 @@ module.exports = {
proxy: {
// 配置前端代理转发地址
'/api': {
target: 'http://192.168.1.5:5000',
target: 'https://api.zhanhongzhu.top',
changeOrigin: true,
pathRewrite: {
'^/api': '/api'