zanllp commented on issue #13672:
URL: 
https://github.com/apache/incubator-echarts/issues/13672#issuecomment-732652126


   我尝试升到了
   ```json
   {
    "dependencies": {
       "echarts": "5.0.0-rc.1",
       "vue-echarts": "^5.0.0-beta.0"
     }
   }
   ```
   Legend中是有了selector,但是在编译时打印了这样的错误,是因为vue-echarts不支持5.0版本的echarts吗
   ```
   This dependency was not found:
   
   * echarts/map/js/world in 
./node_modules/cache-loader/dist/cjs.js??ref--13-0!./node_modules/babel-loader/lib!./node_modules/ts-loader??ref--13-2!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/Charts/line.vue?vue&type=script&lang=ts&
   
   To install it, you can run: npm install --save echarts/map/js/world
   ERROR in 
/Users/wuqinchuan/Desktop/jupiter/europa/node_modules/echarts/lib/chart/bar/BarSeries.d.ts(33,5):
   33:5 Property 'coordinateSystem' in type 'BarSeriesModel' is not assignable 
to the same property in base type 'BaseBarSeriesModel<BarSeriesOption>'.
     Type 'Cartesian2D | Polar' is not assignable to type 'CoordinateSystem'.
       Type 'Cartesian2D' is not assignable to type 'CoordinateSystem'.
         Types of property 'master' are incompatible.
           Type 'Grid' is not assignable to type 'CoordinateSystemMaster'.
       31 |     type: string;
       32 |     static dependencies: string[];
     > 33 |     coordinateSystem: Cartesian2D | Polar;
          |     ^
       34 |     getProgressive(): number | false;
       35 |     getProgressiveThreshold(): number;
       36 |     brushSelector(dataIndex: number, data: List, selectors: 
BrushCommonSelectorsForSeries): boolean;
   ERROR in 
/Users/wuqinchuan/Desktop/jupiter/europa/node_modules/echarts/lib/chart/bar/PictorialBarSeries.d.ts(40,5):
   40:5 Property 'coordinateSystem' in type 'PictorialBarSeriesModel' is not 
assignable to the same property in base type 
'BaseBarSeriesModel<PictorialBarSeriesOption>'.
     Type 'Cartesian2D' is not assignable to type 'CoordinateSystem'.
       38 |     type: string;
       39 |     static dependencies: string[];
     > 40 |     coordinateSystem: Cartesian2D;
          |     ^
       41 |     hasSymbolVisual: boolean;
       42 |     defaultSymbol: string;
       43 |     static defaultOption: PictorialBarSeriesOption;
   ERROR in 
/Users/wuqinchuan/Desktop/jupiter/europa/node_modules/echarts/lib/chart/boxplot/BoxplotSeries.d.ts(31,5):
   31:5 Property 'coordinateSystem' in type 'BoxplotSeriesModel' is not 
assignable to the same property in base type 'SeriesModel<BoxplotSeriesOption>'.
     Type 'Cartesian2D' is not assignable to type 'CoordinateSystem'.
       29 |     readonly type = "series.boxplot";
       30 |     static readonly dependencies: string[];
     > 31 |     coordinateSystem: Cartesian2D;
          |     ^
       32 |     defaultValueDimensions: {
       33 |         name: string;
       34 |         defaultTooltip: boolean;
   ERROR in 
/Users/wuqinchuan/Desktop/jupiter/europa/node_modules/echarts/lib/chart/boxplot/BoxplotSeries.d.ts(40,11):
   40:11 Interface 'BoxplotSeriesModel' incorrectly extends interface 
'SeriesModel<BoxplotSeriesOption>'.
     Types of property 'coordinateSystem' are incompatible.
       Type 'Cartesian2D' is not assignable to type 'CoordinateSystem'.
       38 |     static defaultOption: BoxplotSeriesOption;
       39 | }
     > 40 | interface BoxplotSeriesModel extends 
WhiskerBoxCommonMixin<BoxplotSeriesOption> {
          |           ^
       41 |     getBaseAxis(): Axis2D;
       42 | }
   ```
   下面还有很多


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@echarts.apache.org
For additional commands, e-mail: commits-h...@echarts.apache.org

Reply via email to