Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
高东东-金蝶建发
/
jf-yzj-employeeself-develop
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
b2ed08b0
authored
Feb 07, 2025
by
zhongqm
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
update: 补qing
parent
8483e910
Pipeline
#24831
failed with stage
in 0 seconds
Changes
1
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
6 deletions
src/shared/main.js
src/shared/main.js
View file @
b2ed08b0
// The Vue build version to load with the `import` command
// The Vue build version to load with the `import` command
// (runtime-only or standalone) has been set in webpack.base.conf with an alias.
// (runtime-only or standalone) has been set in webpack.base.conf with an alias.
import
'./polyfill/index'
import
Vue
from
'vue'
import
Vue
from
'vue'
import
router
from
'./router'
import
router
from
'./router'
import
App
from
'./app.vue'
import
App
from
'./app.vue'
import
store
from
'./store'
import
store
from
'./store'
import
plugin
from
'./plugin'
import
plugin
from
'./plugin'
import
routerStore
from
'../libraries/plugins/RouterStore'
import
routerStore
from
'../libraries/plugins/RouterStore'
import
VConsole
from
'vconsole'
import
*
as
Api
from
'@/api/index'
if
(
process
.
env
.
PACK_VENV
===
'vtest'
){
new
VConsole
()
}
Vue
.
use
(
routerStore
,
store
,
router
)
Vue
.
use
(
routerStore
,
store
,
router
)
...
@@ -17,11 +15,15 @@ Vue.config.debug = process.env.NODE_ENV !== 'production'
...
@@ -17,11 +15,15 @@ Vue.config.debug = process.env.NODE_ENV !== 'production'
Vue
.
config
.
productionTip
=
false
Vue
.
config
.
productionTip
=
false
/* eslint-disable no-new */
/* eslint-disable no-new */
new
Vue
({
const
vm
=
new
Vue
({
el
:
'#app'
,
store
,
store
,
router
,
router
,
plugin
,
plugin
,
template
:
'<App/>'
,
template
:
'<App/>'
,
components
:
{
App
}
components
:
{
App
}
})
})
window
.
qing
.
ready
(
async
()
=>
{
// 初始化 token
await
Api
.
setToken
(
vm
)
vm
.
$mount
(
'#app'
)
})
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