diff --git a/src/utils/editor.js b/src/utils/editor.js index feda4d4..5a6bd70 100644 --- a/src/utils/editor.js +++ b/src/utils/editor.js @@ -5,7 +5,7 @@ export default { //skin:'oxide-dark', language: 'zh_CN', language_url: './styles/tinymce/langs/zh_CN.js', - plugins: 'print preview searchreplace autolink directionality visualblocks visualchars fullscreen image link media template codesample table charmap hr pagebreak nonbreaking anchor insertdatetime advlist lists wordcount imagetools textpattern help emoticons autosave autoresize', + plugins: 'print preview searchreplace autolink directionality visualblocks visualchars fullscreen image link media template codesample table charmap hr pagebreak nonbreaking anchor insertdatetime advlist lists wordcount imagetools textpattern help emoticons autoresize', toolbar: 'code undo redo restoredraft | cut copy pastetext | forecolor backcolor headings fontsize lineHeight bold italic underline strikethrough link anchor | alignleft aligncenter alignright alignjustify | \ styleselect fontselect fontsizeselect | bullist numlist | blockquote subscript superscript removeformat | \ table image media charmap emoticons hr pagebreak insertdatetime print preview | fullscreen | indent2em', diff --git a/src/views/review/index.vue b/src/views/review/index.vue index 194230b..8dfca48 100644 --- a/src/views/review/index.vue +++ b/src/views/review/index.vue @@ -14,12 +14,12 @@ export default { }, mounted () { const cache = localStorage.getItem('reviewPath') // 理论考试平台每次跳转都会往localStorage存路径 - let url = `${location.origin}/examination/` + let url = `${location.origin}/reviewCenter/` if (Setting.isDev) url = `http://192.168.31.125:8099/` if (cache) { url += `#${cache}${cache.includes('?') ? `&` : '?'}token=${sessionStorage.getItem('token')}` } else { - url += `#/myReview/list?token=${sessionStorage.getItem('token')}` + url += `#/myReview?token=${sessionStorage.getItem('token')}` } url += `&v=${Date.now()}` localStorage.setItem('review_token', sessionStorage.getItem('token'))