Vue uses components not to render only when the code has changed

this component is a chart

<script>
import { Line } from "vue-chartjs";
    
  export default {
  extends: Line,
  mounted () {
        this.renderChart({
          labels: ["January", "February", "March", "April", "May", "June", "July"],
          datasets: [
            {
              label: "success",
              backgroundColor: "-sharpFC2525",
               fill: "transparent",
              data: [40, 39, 10, 40, 39, 80, 40]
            },
            {
              label: "fail",
              backgroundColor: "-sharp05CBE1",
                fill: "transparent",
              data: [60, 55, 32, 10, 2, 12, 53]
            }
          ]
        }, {responsive: true, maintainAspectRatio: false})
    
      }
}
</script>

    

then introduces and registers

in another component Dash
import LineChart from "@/components/line.vue";
    export default {
       components:{
           LineChart
       },

but the chart disappears every time I refresh-sharp-sharp-sharp problem description


Refresh page component disappears? Use the developer tool to see if there are any errors reported, and whether the corresponding node is rendered first.

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-1bf27ca-31ddd.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-1bf27ca-31ddd.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?