提交 61218837 authored 作者: matian's avatar matian

代码

上级 78de1e6b
...@@ -144,7 +144,7 @@ export default { ...@@ -144,7 +144,7 @@ export default {
// 复制考试地址 // 复制考试地址
copyExamUrl() { copyExamUrl() {
const copyDom = document.querySelector('#copyInput') const copyDom = document.querySelector('#copyInput')
copyDom.value = window.location.origin + '/login/' + this.row.exam_id copyDom.value = window.location.origin + '/login/' + this.exam_id
copyDom.select() // 选择对象 copyDom.select() // 选择对象
document.execCommand('Copy') document.execCommand('Copy')
this.$message({ this.$message({
...@@ -165,7 +165,6 @@ export default { ...@@ -165,7 +165,6 @@ export default {
}, },
// 考试试卷编辑 // 考试试卷编辑
editExam() { editExam() {
console.log(this.row)
this.$router.push({ this.$router.push({
path: 'checkPaper', path: 'checkPaper',
query: { exam_id: this.exam_id, isEdit: '2' } query: { exam_id: this.exam_id, isEdit: '2' }
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论