import{d as r,A as t,j as o}from"./ResizeObserver.es.62ab429c.js";import{C as i}from"./index.786e83cc.js";const l="_mProtocol_1s9om_1";var s={mProtocol:l},m=r({name:"preview-protocol",data(){return console.log(this.$route.query),{protocolUrl:"",title:this.$route.query.type==="music"?"\u66F2\u8C31\u6392\u7248\u89C4\u8303":"\u5E38\u89C1\u95EE\u9898"}},async mounted(){const e=this.$route.query.type;e==="question"?this.protocolUrl=`${t()}/teacher/muic-standard/question.html`:e==="music"?(this.protocolUrl=`${t()}/teacher/muic-standard/index.html`,this.title="\u66F2\u8C31\u6392\u7248\u89C4\u8303"):this.protocolUrl=`${t()}/teacher/muic-standard/index.html`},render(){return o("div",{id:"mProtocol",class:s.mProtocol},[o(i,{title:this.title},null),o("iframe",{id:"staffIframeRef",src:this.protocolUrl},null)])}});export{m as default};
