mirror of
https://github.com/NaiboWang/EasySpider.git
synced 2025-04-20 22:15:08 +08:00
fix open speed
This commit is contained in:
parent
2aa2915461
commit
c91dd3fa34
6
ElectronJS/package-lock.json
generated
6
ElectronJS/package-lock.json
generated
@ -1,13 +1,13 @@
|
||||
{
|
||||
"name": "easy-spider",
|
||||
"version": "0.1.0",
|
||||
"version": "0.3.1",
|
||||
"lockfileVersion": 3,
|
||||
"requires": true,
|
||||
"packages": {
|
||||
"": {
|
||||
"name": "easy-spider",
|
||||
"version": "0.1.0",
|
||||
"license": "CC0-1.0",
|
||||
"version": "0.3.1",
|
||||
"license": "GPL-3.0",
|
||||
"dependencies": {
|
||||
"electron-squirrel-startup": "^1.0.0",
|
||||
"http": "^0.0.1-security",
|
||||
|
@ -8,7 +8,7 @@
|
||||
name="viewport">
|
||||
<meta content="ie=edge" http-equiv="X-UA-Compatible">
|
||||
<script src="js/vue.global.js"></script>
|
||||
<script src="https://unpkg.com/vue-i18n@9"></script>
|
||||
<!-- <script src="https://unpkg.com/vue-i18n@9"></script> -->
|
||||
<link href="bootstrap/css/bootstrap.css" rel="stylesheet">
|
||||
</link>
|
||||
<title>EasySpider: NoCode Visual Web Crawler</title>
|
||||
|
@ -4,11 +4,11 @@ const messages = {
|
||||
zh: zhLocale,
|
||||
en: enLocale,
|
||||
}
|
||||
const i18n = VueI18n.createI18n({
|
||||
locale: 'zh',
|
||||
fallbackLocale: 'en',
|
||||
messages
|
||||
})
|
||||
// const i18n = VueI18n.createI18n({
|
||||
// locale: 'zh',
|
||||
// fallbackLocale: 'en',
|
||||
// messages
|
||||
// })
|
||||
|
||||
|
||||
function getUrlParam(name) {
|
||||
@ -70,5 +70,5 @@ var app = Vue.createApp({
|
||||
window.electronAPI.startInvoke(lang);
|
||||
}
|
||||
}
|
||||
}).use(i18n).mount('#app')
|
||||
console.log(i18n.global.t('test'))
|
||||
}).mount('#app');
|
||||
// console.log(i18n.global.t('test'))
|
||||
|
Loading…
x
Reference in New Issue
Block a user