Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
O
OpenXG-AIEngine
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
OpenXG
OpenXG-AIEngine
Commits
74ef643e
Commit
74ef643e
authored
May 26, 2021
by
wangdng
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mathjaxfix
parent
18d0825c
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
6 additions
and
6 deletions
+6
-6
.electron-vue/dev-runner.js
.electron-vue/dev-runner.js
+2
-2
package.json
package.json
+1
-1
src/index.ejs
src/index.ejs
+1
-1
src/renderer/main.js
src/renderer/main.js
+1
-1
src/utils/globalVariable.js
src/utils/globalVariable.js
+1
-1
No files found.
.electron-vue/dev-runner.js
View file @
74ef643e
...
...
@@ -147,7 +147,7 @@ function electronLog (data, color) {
log
+=
`
${
line
}
\n`
})
if
(
/
[
0-9A-z
]
+/
.
test
(
log
))
{
//
console.log(
console
.
log
(
chalk
[
color
].
bold
(
'
┏ Electron -------------------
'
)
+
'
\n\n
'
+
log
+
...
...
@@ -172,7 +172,7 @@ function greeting () {
space
:
false
})
}
else
//console.log(chalk.yellow.bold('\n electron-vue'))
//
console.log(chalk.blue(' getting ready...') + '\n')
console
.
log
(
chalk
.
blue
(
'
getting ready...
'
)
+
'
\n
'
)
}
function
init
()
{
...
...
package.json
View file @
74ef643e
{
"name"
:
"SmartSlice"
,
"version"
:
"0.
1
.2"
,
"version"
:
"0.
2
.2"
,
"author"
:
"wangdongMAC <897253127@qq.com>"
,
"description"
:
"A National Key Research Project AI "
,
"license"
:
null
,
...
...
src/index.ejs
View file @
74ef643e
...
...
@@ -7,7 +7,7 @@
<!-- Add `node_modules/` to global paths so `require` works properly in development -->
<script
src=
"https://polyfill.io/v3/polyfill.min.js?features=es6"
></script>
<
script
type=
"text/javascript"
async
src=
"https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.5/MathJax.js?config=TeX-MML-AM_CHTML"
>
</script
>
<
!-- <script type="text/javascript" async src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.5/MathJax.js?config=TeX-MML-AM_CHTML"> </script> --
>
<script>
require
(
'
module
'
).
globalPaths
.
push
(
'
<%= htmlWebpackPlugin.options.nodeModules.replace(/
\\
/g,
'
\\\\
'
) %>
'
)
</script>
...
...
src/renderer/main.js
View file @
74ef643e
...
...
@@ -7,7 +7,7 @@ import App from './App'
import
router
from
'
./router
'
import
{
Table
}
from
'
element-ui
'
import
store
from
'
./store/index
'
;
import
*
as
mathjax
from
'
mathjax-full/es5/tex-svg-full
'
if
(
!
process
.
env
.
IS_WEB
)
Vue
.
use
(
require
(
'
vue-electron
'
))
Vue
.
http
=
Vue
.
prototype
.
$http
=
axios
...
...
src/utils/globalVariable.js
View file @
74ef643e
...
...
@@ -23,7 +23,7 @@ const MathQueue = function (elementId) {
if
(
!
window
.
MathJax
)
{
return
;
}
window
.
MathJax
.
Hub
.
Queue
([
"
Typeset
"
,
window
.
MathJax
.
Hub
,
document
.
getElementById
(
elementId
)]);
//
window.MathJax.Hub.Queue(["Typeset", window.MathJax.Hub, document.getElementById(elementId)]);
};
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment