12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152 |
- <template>
- <JhliveApp
- class="container"
- ref="jhliveApp"
- :sdkAppID="sdkAppID"
- :userSig="userSig"
- :userid="userid"
- :roomid="roomid"
- :isAuthor="isAuthor"
- :linkMic="linkMic" />
- </template>
- <script>
- export default {
- data() {
- return {
-
- };
- },
- props: {
- props: {
- sdkAppID: Number,
- userSig: String,
- userid: String,
- roomid: String,
- isAuthor: Boolean,
- linkMic: Boolean
- },
- },
- mounted: function() {
- },
- destroyed: function() {
-
- },
- methods: {
- enterRoom: function() {
- this.$refs.jhliveApp.enterRoom();
- },
- exitRoom: function() {
- this.$refs.jhliveApp.exitRoom();
- }
- }
- };
- </script>
- <style scoped>
- .container {
- flex: 1;
- }
- </style>
|