直播路由
This commit is contained in:
@@ -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 {
|
||||
|
||||
@@ -271,6 +271,7 @@
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
padding-bottom: 200px;
|
||||
.top {
|
||||
display: flex;
|
||||
width: 1241px;
|
||||
|
||||
Reference in New Issue
Block a user