Compare commits

..

No commits in common. "7d41653036fc3263fe8e23813bc922719936d449" and "6ea3246428673432db73ea5cb4ef90b5f5d52a63" have entirely different histories.

3 changed files with 6 additions and 14 deletions

View File

@ -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: 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;" />
<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:" />
</head>

View File

@ -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) {
// },

View File

@ -62,18 +62,10 @@ 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()