mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/fe-manage.git
synced 2025-12-10 03:16:44 +08:00
53 lines
1.3 KiB
Vue
53 lines
1.3 KiB
Vue
<!--
|
|
* @Author: lixg lixg@dongwu-inc.com
|
|
* @Date: 2022-11-09 09:26:26
|
|
* @LastEditors: lixg lixg@dongwu-inc.com
|
|
* @LastEditTime: 2022-12-11 11:34:57
|
|
* @FilePath: /fe-manage/src/views/courselibrary/CourseManage.vue
|
|
* @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
|
|
-->
|
|
<!-- 考试管理页面 -->
|
|
<!-- sandbox="allow-forms allow-scripts allow-same-origin allow-popups" -->
|
|
<template>
|
|
<div class="examinationCenter">
|
|
<iframe
|
|
id="iframe"
|
|
style="width: 100%; height: 100%"
|
|
:src="iframeUrl + '/exam/tests'"
|
|
frameborder="0"
|
|
name="myframe"
|
|
security="restricted"
|
|
sandbox="allow-forms allow-downloads allow-scripts allow-same-origin allow-popups"
|
|
></iframe>
|
|
</div>
|
|
</template>
|
|
<script>
|
|
import { reactive, toRefs, onMounted } from "vue";
|
|
import { iframeUrl } from "../../api/method";
|
|
export default {
|
|
name: "ExaminationCenter",
|
|
|
|
setup() {
|
|
const state = reactive({
|
|
iframeUrl: iframeUrl,
|
|
});
|
|
|
|
onMounted(() => {
|
|
// console.log("执行");
|
|
});
|
|
|
|
return {
|
|
...toRefs(state),
|
|
};
|
|
},
|
|
};
|
|
</script>
|
|
<style lang="scss">
|
|
.examinationCenter {
|
|
width: 100%;
|
|
height: 100%;
|
|
display: flex;
|
|
flex-direction: column;
|
|
}
|
|
</style>
|