Commit bd523126 by 张超军

Merge branch 'dev_zwpt' of http://47.92.108.28/changchao/founder_vue into dev_zwpt

parents 0a142673 02460ac5
/*
* @Author: your name
* @Date: 2021-11-26 16:37:59
* @LastEditTime: 2021-11-29 18:23:59
* @LastEditTime: 2021-11-30 09:13:55
* @LastEditors: Please set LastEditors
* @Description: 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
* @FilePath: \founder_vue\src\utils\requestLoading.js
......@@ -29,7 +29,7 @@ export function showLoading(target) {
// background: "rgba(255, 255, 255, 0.7)",
// target: target || document.body
// });
if(target) {
if (target) {
store.commit('loading/setSmallLoading', true)
} else {
store.commit('loading/setLoading', true)
......@@ -60,7 +60,7 @@ let toHideLoading = utils.debounce((loadingTarget) => {
// loading.close();
loading = null;
console.log(loadingTarget);
if(loadingTarget) {
if (loadingTarget) {
store.commit('loading/setSmallLoading', false)
} else {
store.commit('loading/setLoading', false)
......
......@@ -89,7 +89,7 @@ export default {
accountStatus: false, // 帐号密码登录状态
keyStatus: false, // key登录状态
},
player: null
player: null,
};
},
methods: {
......@@ -138,15 +138,15 @@ export default {
},
created() {},
mounted() {
let self = this
let self = this;
this.loginType.accountStatus = true;
// if (localStorage.getItem("token") !== null) {
// this.$router.push("/index");
// }
this.initVideo();
this.$bus.on('goLogin', () => {
self.player.dispose()
})
this.$bus.on("goLogin", () => {
self.player.dispose();
});
// todo 初始登录 帐号密码登录选中状态
// this.init();
......@@ -347,7 +347,9 @@ div {
margin-bottom: 10px;
opacity: 1;
}
.video-js {
background-color: transparent !important;
}
.login_system {
width: 255px;
height: 55px;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment