xbx #172

Merged
theluyuan merged 4 commits from xbx into master 2020-11-30 03:04:33 +00:00
Showing only changes of commit ab631515ea - Show all commits

View File

@ -5,7 +5,7 @@
</style>
<script lang="ts">
import { getliveinfo } from '@/api';
import { getliveinfo, luzhi } from '@/api';
import store from '@/store';
import { defineComponent, onMounted, ref, watch } from 'vue';
import { useRoute } from 'vue-router';
@ -17,6 +17,7 @@ export default defineComponent({
const url = ref<string>()
if(id && typeof id == 'string'){
getliveinfo(parseInt(id)).then((res: any)=>{
luzhi(res.roomid)
url.value = `/zhibo.html?roomid=${res.roomid}&memberid=${res.memberid}&name=${escape(store.state.userinfo.name)}`
})