File tree Expand file tree Collapse file tree 4 files changed +58
-21
lines changed Expand file tree Collapse file tree 4 files changed +58
-21
lines changed Original file line number Diff line number Diff line change 41
41
"comment-mark" : " ^1.0.0" ,
42
42
"core-js" : " ^3.23.0" ,
43
43
"echarts" : " ^5.3.2" ,
44
+ "echarts-liquidfill" : " ^3.1.0" ,
44
45
"eslint" : " ^7.20.0" ,
45
46
"eslint-plugin-prettier" : " ^3.3.1" ,
46
47
"eslint-plugin-vue" : " ^8.7.1" ,
50
51
"postcss-nested" : " ^5.0.5" ,
51
52
"prettier" : " ^2.6.2" ,
52
53
"qs" : " ^6.10.5" ,
54
+ "raw-loader" : " ^4.0.2" ,
53
55
"resize-detector" : " ^0.3.0" ,
54
56
"rimraf" : " ^3.0.2" ,
55
57
"rollup" : " ^2.72.1" ,
Original file line number Diff line number Diff line change 1
1
<template >
2
2
<main >
3
- <!-- <v-chart
4
- class="echarts" id="logo" :option="logo" :init-options="initOptions" autoresize />-->
3
+ <v-chart
4
+ class =" echarts"
5
+ id =" logo"
6
+ :option =" logo"
7
+ :init-options =" initOptions"
8
+ autoresize
9
+ />
5
10
<h1 >
6
11
<a href =" https://github.com/ecomfe/vue-echarts" >Vue-ECharts</a >
7
12
</h1 >
@@ -328,8 +333,8 @@ import {
328
333
DataZoomComponent
329
334
} from " echarts/components" ;
330
335
import { CanvasRenderer , SVGRenderer } from " echarts/renderers" ;
331
- // import "echarts-liquidfill";
332
- // import logo from "./data/logo";
336
+ import " echarts-liquidfill" ;
337
+ import logo from " ./data/logo" ;
333
338
import getBar from " ./data/bar" ;
334
339
import pie from " ./data/pie" ;
335
340
import polar from " ./data/polar" ;
@@ -383,6 +388,7 @@ export default {
383
388
const options = qs .parse (location .search , { ignoreQueryPrefix: true });
384
389
return {
385
390
options,
391
+ logo,
386
392
bar: getBar (),
387
393
pie,
388
394
polar,
@@ -719,7 +725,6 @@ select {
719
725
font : inherit;
720
726
padding : 0 0.5 em ;
721
727
transition : opacity 0.3 s ;
722
- -webkit-appearance : none;
723
728
transition : all 0.2 s ;
724
729
725
730
&:focus {
@@ -890,10 +895,6 @@ figure {
890
895
font-size : 0.8 em ;
891
896
}
892
897
893
- select {
894
- -webkit-appearance : none;
895
- }
896
-
897
898
input [type="checkbox" ] {
898
899
display : none;
899
900
Original file line number Diff line number Diff line change @@ -14,5 +14,12 @@ module.exports = {
14
14
} ,
15
15
chainWebpack : config => {
16
16
config . entry ( "app" ) . clear ( ) . add ( "./src/demo/main.ts" ) ;
17
+
18
+ config . module
19
+ . rule ( "svg" )
20
+ . clear ( )
21
+ . test ( / \. s v g $ / )
22
+ . use ( "raw-loader" )
23
+ . loader ( "raw-loader" ) ;
17
24
}
18
25
} ;
You can’t perform that action at this time.
0 commit comments