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",
|
"element-plus": "^1.0.2-beta.70",
|
||||||
"granim": "^2.0.0",
|
"granim": "^2.0.0",
|
||||||
"gsap": "^3.7.0",
|
"gsap": "^3.7.0",
|
||||||
|
"js-cookie": "^3.0.0",
|
||||||
|
"leancloud-storage": "^4.11.1",
|
||||||
"vue": "^3.0.0"
|
"vue": "^3.0.0"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
|
@ -215,6 +215,7 @@ export default {
|
|||||||
}).then(() => {
|
}).then(() => {
|
||||||
const params = { username: '', password: '' }
|
const params = { username: '', password: '' }
|
||||||
Api.logout(params.username, params.password).then((res) => {
|
Api.logout(params.username, params.password).then((res) => {
|
||||||
|
console.log(res)
|
||||||
Cookie.remove('userInfo')
|
Cookie.remove('userInfo')
|
||||||
setUsername()
|
setUsername()
|
||||||
})
|
})
|
||||||
|
@ -5,7 +5,7 @@ module.exports = {
|
|||||||
proxy: {
|
proxy: {
|
||||||
// 配置前端代理转发地址
|
// 配置前端代理转发地址
|
||||||
'/api': {
|
'/api': {
|
||||||
target: 'http://192.168.1.5:5000',
|
target: 'https://api.zhanhongzhu.top',
|
||||||
changeOrigin: true,
|
changeOrigin: true,
|
||||||
pathRewrite: {
|
pathRewrite: {
|
||||||
'^/api': '/api'
|
'^/api': '/api'
|
||||||
|
Loading…
Reference in New Issue
Block a user