{"ast":null,"code":"import \"core-js/modules/es.array.push.js\";\nimport TRTC from 'trtc-sdk-v5';\nlet trtc = null;\nexport default {\n name: 'App',\n data() {\n return {\n formLabelAlign: {},\n enterRoomFrom: {},\n trtc: null,\n userId: null\n };\n },\n methods: {\n async enterRoom() {\n this.$router.push({\n name: 'Room',\n query: {\n userId: this.userId,\n roomId: this.enterRoomFrom.roomId\n }\n });\n },\n submitRoom() {\n this.$refs[\"formLabelAlign\"].validate(valid => {});\n }\n },\n async mounted() {\n let routeParams = this.$route.query;\n this.userId = routeParams.name;\n trtc = TRTC.create();\n const config = {\n view: document.getElementById('video'),\n publish: false\n };\n await trtc.startLocalVideo(config);\n }\n};","map":{"version":3,"names":["TRTC","trtc","name","data","formLabelAlign","enterRoomFrom","userId","methods","enterRoom","$router","push","query","roomId","submitRoom","$refs","validate","valid","mounted","routeParams","$route","create","config","view","document","getElementById","publish","startLocalVideo"],"sources":["src/components/homepc.vue"],"sourcesContent":["\n \n
\n\n
\n
\n
\n 仲裁会议室\n
\n
\n \n \n \n 进入\n \n \n
\n
\n
\n\n \n\n \n\n \n \n "],"mappings":";AAuBA,OAAAA,IAAA;AACA,IAAAC,IAAA;AACA;EACAC,IAAA;EACAC,KAAA;IACA;MACAC,cAAA;MACAC,aAAA;MACAJ,IAAA;MACAK,MAAA;IACA;EACA;EACAC,OAAA;IACA,MAAAC,UAAA;MACA,KAAAC,OAAA,CAAAC,IAAA;QACAR,IAAA;QACAS,KAAA;UACAL,MAAA,OAAAA,MAAA;UACAM,MAAA,OAAAP,aAAA,CAAAO;QACA;MACA;IACA;IACAC,WAAA;MACA,KAAAC,KAAA,mBAAAC,QAAA,CAAAC,KAAA,KAEA;IACA;EACA;EACA,MAAAC,QAAA;IACA,IAAAC,WAAA,QAAAC,MAAA,CAAAR,KAAA;IACA,KAAAL,MAAA,GAAAY,WAAA,CAAAhB,IAAA;IACAD,IAAA,GAAAD,IAAA,CAAAoB,MAAA;IACA,MAAAC,MAAA;MACAC,IAAA,EAAAC,QAAA,CAAAC,cAAA;MACAC,OAAA;IACA;IACA,MAAAxB,IAAA,CAAAyB,eAAA,CAAAL,MAAA;EACA;AACA"},"metadata":{},"sourceType":"module","externalDependencies":[]}