Compare commits
4 Commits
6ea3246428
...
7d41653036
Author | SHA1 | Date |
---|---|---|
白了个白 | 7d41653036 | |
“zouyf” | ad006bb218 | |
“zouyf” | ebed58ea9e | |
“zouyf” | fd5343c942 |
|
@ -8,7 +8,7 @@
|
|||
http-equiv="Content-Security-Policy"
|
||||
content="default-src 'self'; script-src 'self'; style-src 'self' 'unsafe-inline'; img-src 'self' data:"
|
||||
/> -->
|
||||
<meta http-equiv="Content-Security-Policy" content="connect-src * blob:; default-src 'self'; script-src 'self' 'unsafe-eval'; style-src 'self' 'unsafe-inline'; media-src * blob:;img-src * 'self' data: blob:" />
|
||||
<meta http-equiv="Content-Security-Policy" content="connect-src * blob: data:; default-src 'self'; script-src 'self' 'unsafe-eval' http://www.wiris.net; style-src 'self' 'unsafe-inline' http://www.wiris.net; media-src * blob:;img-src * 'self' data: blob:;font-src 'self' http://www.wiris.net;" />
|
||||
|
||||
</head>
|
||||
|
||||
|
|
|
@ -187,10 +187,10 @@ const init = reactive({
|
|||
min_height: props.minHeight,
|
||||
draggable_modal: true,
|
||||
extended_valid_elements: '*[.*]',
|
||||
// external_plugins: {
|
||||
// tiny_mce_wiris: `/tinymce/tool/@wiris/mathtype-tinymce6/plugin.min.js`,
|
||||
// //tiny_mce_wiris: `https://www.wiris.net/demo/plugins/tiny_mce/plugin.js`,
|
||||
// },
|
||||
external_plugins: {
|
||||
tiny_mce_wiris: `/tinymce/tool/@wiris/mathtype-tinymce6/plugin.min.js`,
|
||||
//tiny_mce_wiris: `https://www.wiris.net/demo/plugins/tiny_mce/plugin.js`,
|
||||
},
|
||||
|
||||
// setup: function (editor) {
|
||||
// },
|
||||
|
|
|
@ -62,10 +62,18 @@ const handleUserEduStage = (item) => {
|
|||
// 默认语文
|
||||
userStore.edusubject = '语文'
|
||||
}
|
||||
else if(item === '高中' && userStore.edusubject === "道德与法治"){
|
||||
// 默认语文
|
||||
userStore.edusubject = '政治'
|
||||
}
|
||||
else if(item != '高中' && userStore.edusubject === "政治"){
|
||||
// 默认语文
|
||||
userStore.edusubject = '道德与法治'
|
||||
}
|
||||
}
|
||||
// 选择学科
|
||||
const handleUserEduSubject = (item) => {
|
||||
userStore.edusubject = item
|
||||
userStore.edusubject = item;
|
||||
}
|
||||
onMounted(() => {
|
||||
getSubject()
|
||||
|
|
Loading…
Reference in New Issue