mirror of
https://gitee.com/dromara/sa-token.git
synced 2025-04-05 17:37:53 +08:00
commit
c969fee944
@ -85,7 +85,6 @@ export default {
|
||||
param[tokenName] = tokenValue
|
||||
this.axios.post('/back/user/state', this.$f(param))
|
||||
.then(res => {
|
||||
debugger
|
||||
if (res.status === 200) {
|
||||
this.loginState = res.data.data
|
||||
} else {
|
||||
|
@ -8,7 +8,7 @@ import 'element-plus/dist/index.css' // 加载elementUI样式
|
||||
import zhCn from 'element-plus/es/locale/lang/zh-cn' // 引入中文本地化组件
|
||||
|
||||
|
||||
app = createApp(App)
|
||||
const app = createApp(App)
|
||||
|
||||
// vue组件内通过 this.$f() 来调用
|
||||
app.config.globalProperties.$f = (params) => {
|
||||
|
Loading…
Reference in New Issue
Block a user