Echarts-liquidFill is introduced into vue to report an error.

import echarts from "echarts"
import echartsLiquidfill from" echarts-liquidfill"
import liquidfill from "echarts-liquidfill"

export function full_health (element_id) {

var full_health = echarts.init(document.getElementById(element_id));
let option = {
    backgroundColor: "-sharp04184A",
    series: [{
        type: "liquidFill",
        //data: [0.6, 0.5, 0.4, 0.3],
        data: [0.6, 0.5, 0.4, 0.3],
        radius: "20%",
        // 
        color: ["-sharp49d088", "-sharp38b470", "-sharp2aaf66"],
        center: ["25%", "50%"],
        // outline  
        outline: {
            // show: false
            borderDistance: 5,
            itemStyle: {
                borderWidth: 5,
                borderColor: "-sharp13FDCE",
            },
        },
        label: {
            normal: {
                // textStyle: {
                color: "red",
                insideColor: "yellow",
                fontSize: 100
                    // }
            }
        },
        //   
        backgroundStyle: {
            color: "rgba(4,24,74,0.8)",
            // borderWidth: 5,
            // borderColor: "red",
        }
    }, ]
};
full_health.setOption(option);

}
call the full_health method in the component

clipboard.png

npm install
json

clipboard.png

clipboard.png
ask the great god to point out how to introduce js into the water polo map

problem description

the environmental background of the problems and what methods you have tried

related codes

/ / Please paste the code text below (do not replace the code with pictures)

what result do you expect? What is the error message actually seen?

Jul.06,2021

Why do you quote one above but have two names
import echartsLiquidfill from 'echarts-liquidfill'
import liquidfill from' echarts-liquidfill'


the problem has been solved mainly because there may be a problem in the first npm install echarts-liquidfill and then manually delete the files in the node_models and then manually delete the files in the node_models will have a problem and cache will be useless again npm install Later, delete the version in json and re-npm install echarts-liquidfill it

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1e81b16-5b993.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1e81b16-5b993.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?