1 |
- import{d as e,j as o}from"./ResizeObserver.es.b7226882.js";import{C as r}from"./index.969bba7f.js";const i="_mProtocol_1s9om_1";var l={mProtocol:i},c=e({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 t=this.$route.query.type;t==="question"?this.protocolUrl=`${location.origin}/teacher/muic-standard/question.html`:t==="music"?(this.protocolUrl=`${location.origin}/teacher/muic-standard/index.html`,this.title="\u66F2\u8C31\u6392\u7248\u89C4\u8303"):this.protocolUrl=`${location.origin}/teacher/muic-standard/index.html`},render(){return o("div",{id:"mProtocol",class:l.mProtocol},[o(r,{title:this.title},null),o("iframe",{id:"staffIframeRef",src:this.protocolUrl},null)])}});export{c as default};
|