no message
This commit is contained in:
parent
7e4a538f5e
commit
bbd4af9ce7
574
package-lock.json
generated
574
package-lock.json
generated
File diff suppressed because it is too large
Load Diff
@ -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": {
|
||||
|
@ -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()
|
||||
})
|
||||
|
@ -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'
|
||||
|
Loading…
Reference in New Issue
Block a user