feat: 新增退出登录接口,新增全局接口封装,修改登录接口内容

This commit is contained in:
奔跑的面条
2022-05-21 17:31:01 +08:00
parent f7ade54e93
commit 5b8dda60bd
15 changed files with 161 additions and 35 deletions
@@ -45,7 +45,7 @@ export const useDataListInit = () => {
onPositiveCallback: () =>
new Promise(res => setTimeout(() => res(1), 1000)),
promiseResCallback: (e: any) => {
window.$message.success('删除成功')
window['$message'].success('删除成功')
list.value.splice(index, 1)
}
})