<template>
  <div style="margin:60 30 100 30px; ">
    <el-progress :text-inside="elProgress.textInside" :stroke-width="elProgress.strokeWidth" :percentage="elProgress.percentage" />
  </div>
</template>
<script>
import { mapState } from "vuex";

export default {  
  data() {
    return {
      
    };
  },
  computed: {
    ...mapState(["elProgress"]),
  },

  created() {

  },

  mounted() {

  },

  methods: {
    
    
  },

  //监听事件
  watch: {
    "elProgress.percentage"(newVal, oldVal) {
      if (newVal == 100) {
        this.elProgress.display = false
      }
    },
  },
};
</script>
<style lang="scss" scoped>
</style>