Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
H
holo-web
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
xinkong
holo-web
Commits
c69cc299
Commit
c69cc299
authored
Dec 05, 2023
by
ninglx
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
elementui&vue npm引入防止部分场景引入顺序报错
parent
e119e45b
Changes
7
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
10 additions
and
4 deletions
+10
-4
package.json
wj-data-vision-new/package.json
+1
-0
index.html
wj-data-vision-new/public/index.html
+0
-3
index.js
wj-data-vision-new/src/directive/index.js
+1
-0
main.js
wj-data-vision-new/src/main.js
+5
-1
index.js
wj-data-vision-new/src/router/index.js
+1
-0
index.js
wj-data-vision-new/src/store/index.js
+1
-0
index.vue
wj-data-vision-new/src/views/preview/index.vue
+1
-0
No files found.
wj-data-vision-new/package.json
View file @
c69cc299
...
@@ -33,6 +33,7 @@
...
@@ -33,6 +33,7 @@
"codemirror"
:
"^5.46.0"
,
"codemirror"
:
"^5.46.0"
,
"compression-webpack-plugin"
:
"^3.1.0"
,
"compression-webpack-plugin"
:
"^3.1.0"
,
"driver.js"
:
"^0.9.8"
,
"driver.js"
:
"^0.9.8"
,
"element-ui"
:
"^2.15.14"
,
"highcharts"
:
"^10.3.3"
,
"highcharts"
:
"^10.3.3"
,
"highcharts-vue"
:
"^1.4.0"
,
"highcharts-vue"
:
"^1.4.0"
,
"js-cookie"
:
"^3.0.0"
,
"js-cookie"
:
"^3.0.0"
,
...
...
wj-data-vision-new/public/index.html
View file @
c69cc299
...
@@ -8,7 +8,6 @@
...
@@ -8,7 +8,6 @@
<link
rel=
"icon"
href=
"<%= BASE_URL %>logo.png"
/>
<link
rel=
"icon"
href=
"<%= BASE_URL %>logo.png"
/>
<title></title>
<title></title>
<link
href=
"/cdn/libs/element-ui/element-ui.css"
rel=
"stylesheet"
/>
<link
href=
"/cdn/font/font.css"
rel=
"stylesheet"
/>
<link
href=
"/cdn/font/font.css"
rel=
"stylesheet"
/>
<link
href=
"/cdn/libs/mapbox-gl/mapbox-gl.css"
rel=
"stylesheet"
/>
<link
href=
"/cdn/libs/mapbox-gl/mapbox-gl.css"
rel=
"stylesheet"
/>
<link
href=
"/cdn/libs/threebox/threebox.css"
rel=
"stylesheet"
/>
<link
href=
"/cdn/libs/threebox/threebox.css"
rel=
"stylesheet"
/>
...
@@ -19,8 +18,6 @@
...
@@ -19,8 +18,6 @@
type=
"text/css"
type=
"text/css"
/>
/>
<script
src=
"/cdn/libs/vue/vue.js"
></script>
<script
src=
"/cdn/libs/element-ui/element-ui.js"
></script>
<script
src=
"/cdn/libs/echarts/echarts.min.js"
></script>
<script
src=
"/cdn/libs/echarts/echarts.min.js"
></script>
<script
src=
"/cdn/libs/mapbox-gl-draw/mapbox-gl-draw.js"
></script>
<script
src=
"/cdn/libs/mapbox-gl-draw/mapbox-gl-draw.js"
></script>
<script
<script
...
...
wj-data-vision-new/src/directive/index.js
View file @
c69cc299
import
Vue
from
'
vue
'
Vue
.
directive
(
"
scroll
"
,
{
Vue
.
directive
(
"
scroll
"
,
{
// 当绑定元素插入到 DOM 中。
// 当绑定元素插入到 DOM 中。
inserted
:
function
(
el
,
binding
)
{
inserted
:
function
(
el
,
binding
)
{
...
...
wj-data-vision-new/src/main.js
View file @
c69cc299
import
Vue
from
'
vue
'
import
store
from
'
./store
'
import
store
from
'
./store
'
import
router
from
'
./router
'
import
router
from
'
./router
'
import
'
./directive
'
import
'
./directive
'
import
App
from
'
./App
'
import
App
from
'
./App
'
import
'
./permission
'
import
'
./permission
'
import
ElementUI
from
'
element-ui
'
;
import
'
element-ui/lib/theme-chalk/index.css
'
;
Vue
.
use
(
E
LEMENT
,
{
Vue
.
use
(
E
lementUI
,
{
size
:
'
small
'
,
size
:
'
small
'
,
})
})
// 关闭生产模式的提示
// 关闭生产模式的提示
Vue
.
config
.
productionTip
=
false
Vue
.
config
.
productionTip
=
false
...
...
wj-data-vision-new/src/router/index.js
View file @
c69cc299
import
Vue
from
'
vue
'
import
Router
from
'
vue-router
'
import
Router
from
'
vue-router
'
import
routes
from
'
../config/routes
'
import
routes
from
'
../config/routes
'
...
...
wj-data-vision-new/src/store/index.js
View file @
c69cc299
import
Vue
from
'
vue
'
import
Vuex
from
"
vuex
"
;
import
Vuex
from
"
vuex
"
;
import
app
from
"
./modules/app
"
;
import
app
from
"
./modules/app
"
;
import
dataset
from
"
./modules/dataset
"
;
import
dataset
from
"
./modules/dataset
"
;
...
...
wj-data-vision-new/src/views/preview/index.vue
View file @
c69cc299
...
@@ -45,6 +45,7 @@
...
@@ -45,6 +45,7 @@
</
template
>
</
template
>
<
script
>
<
script
>
import
Vue
from
'
vue
'
import
wMap
from
"
../../components/map/index.vue
"
;
import
wMap
from
"
../../components/map/index.vue
"
;
import
"
codemirror/lib/codemirror.css
"
;
import
"
codemirror/lib/codemirror.css
"
;
...
...
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