Commit 2be1884d authored by chenqikuai's avatar chenqikuai

fix

parent 1941bde1
......@@ -58,7 +58,7 @@
</template>
<script lang="ts">
import { defineComponent, onMounted, onUnmounted } from "vue";
import { defineComponent, onMounted, onUnmounted, watch } from "vue";
import Banner from "./Banner/Banner.vue";
import Navbar from "@/components/NavBar/index.vue"
import AppList from "./AppList/index.vue";
......@@ -86,6 +86,7 @@ import { eProductStatus } from "@/service/LoanProductService/type";
import { getUserMsg } from "@/utils/userMsg"
import { sendLive } from "@/utils/live";
import { isReviewMode } from "@/utils/vueAppEnv";
import { chatLoginActionMark, eLoginType } from "@/store/chatStore";
var hiddenProperty = 'hidden' in document ? 'hidden' :
'webkitHidden' in document ? 'webkitHidden' :
......@@ -186,12 +187,16 @@ export default defineComponent({
sendLive()
},
initLiveRoomCard() {
console.log('request live info');
new Bridge().bridge_getliveInfo(getUserMsg()?.userInfo.phone, (msg: string) => {
if (msg) {
this.LiveRoomTitle = msg;
}
})
if (getUserMsg()) {
console.log('request live info');
new Bridge().bridge_getliveInfo(getUserMsg()?.userInfo.phone, (msg: string) => {
if (msg) {
this.LiveRoomTitle = msg;
}
})
} else {
this.LiveRoomTitle = '';
}
},
getHotNews() {
getNewsList({
......
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