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