直播路由

This commit is contained in:
2020-10-10 14:34:23 +08:00
parent 96e9284abb
commit 3755425b0e
7 changed files with 48 additions and 20 deletions

View File

@@ -150,7 +150,6 @@ import { defineComponent, reactive, ref } from "vue";
import LoginTab from "@/components/login/LoginTab.vue";
import NavTop from "@/components/NavTop.vue"
import { loginpass } from '@/api';
import store from '@/store';
export default defineComponent({
name: "Login",
@@ -198,9 +197,7 @@ export default defineComponent({
};
function login(): void {
console.log(userinfo.phone,userinfo.password)
loginpass(userinfo.phone,userinfo.password).then(()=>{
store.dispatch("setUserInfo");
})
loginpass(userinfo.phone,userinfo.password)
}
return {

View File

@@ -271,6 +271,7 @@
display: flex;
flex-direction: column;
align-items: center;
padding-bottom: 200px;
.top {
display: flex;
width: 1241px;