@@ -42828,12 +42828,12 @@ var TimeText_component = normalizeComponent(
4282842828)
4282942829
4283042830/* harmony default export */ var TimeText = (TimeText_component.exports);
42831- // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./src/view/components/Progress.vue?vue&type=template&id=3499b000 &
42832- var Progressvue_type_template_id_3499b000_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"sm-progress"},[_c('el-progress',{attrs:{"percentage":parseFloat(_vm.percentage),"type":_vm.type,"stroke-width":parseFloat(_vm.strokeWidth),"show-text":_vm.showText,"width":_vm.type==='circle'?parseFloat(_vm.circleWidth):null,"color":_vm.curColor,"status":_vm.status}})],1)}
42833- var Progressvue_type_template_id_3499b000_staticRenderFns = []
42831+ // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./src/view/components/Progress.vue?vue&type=template&id=e8528960 &
42832+ var Progressvue_type_template_id_e8528960_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"sm-progress"},[_c('el-progress',{attrs:{"percentage":parseFloat(_vm.percentage),"type":_vm.type,"stroke-width":parseFloat(_vm.strokeWidth),"show-text":_vm.showText,"width":_vm.type==='circle'?parseFloat(_vm.circleWidth):null,"color":_vm.curColor,"status":_vm.status}})],1)}
42833+ var Progressvue_type_template_id_e8528960_staticRenderFns = []
4283442834
4283542835
42836- // CONCATENATED MODULE: ./src/view/components/Progress.vue?vue&type=template&id=3499b000 &
42836+ // CONCATENATED MODULE: ./src/view/components/Progress.vue?vue&type=template&id=e8528960 &
4283742837
4283842838// CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./src/view/components/Progress.vue?vue&type=script&lang=js&
4283942839//
@@ -42903,9 +42903,9 @@ var Progressvue_type_template_id_3499b000_staticRenderFns = []
4290342903 var _this = this;
4290442904
4290542905 this.curColor = this.color || this.getColor(0);
42906- this.circleWidth = this.$parent.$el.offsetWidth * 0.5 ;
42906+ this.circleWidth = Math.min( this.$parent.$el.offsetWidth, this.$parent.$el.offsetHeight) ;
4290742907 window.addEventListener('resize', function () {
42908- _this.circleWidth = _this.$parent.$el.offsetWidth * 0.5 ;
42908+ _this.circleWidth = Math.min( _this.$parent.$el.offsetWidth, _this.$parent.$el.offsetHeight) ;
4290942909 });
4291042910 }
4291142911});
@@ -42921,8 +42921,8 @@ var Progressvue_type_template_id_3499b000_staticRenderFns = []
4292142921
4292242922var Progress_component = normalizeComponent(
4292342923 components_Progressvue_type_script_lang_js_,
42924- Progressvue_type_template_id_3499b000_render ,
42925- Progressvue_type_template_id_3499b000_staticRenderFns ,
42924+ Progressvue_type_template_id_e8528960_render ,
42925+ Progressvue_type_template_id_e8528960_staticRenderFns ,
4292642926 false,
4292742927 null,
4292842928 null,
@@ -43009,12 +43009,12 @@ var Icon_component = normalizeComponent(
4300943009)
4301043010
4301143011/* harmony default export */ var Icon = (Icon_component.exports);
43012- // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./src/view/components/LiquidFill.vue?vue&type=template&id=570ba3ea &
43013- var LiquidFillvue_type_template_id_570ba3ea_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"liquid-fill"},[_c('div',{ ref:"chart",staticClass:"chart",style:({width: _vm.size, height: _vm.size, margin: '0 auto'}), attrs:{"id":"chart"}})] )}
43014- var LiquidFillvue_type_template_id_570ba3ea_staticRenderFns = []
43012+ // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./src/view/components/LiquidFill.vue?vue&type=template&id=511ce336 &
43013+ var LiquidFillvue_type_template_id_511ce336_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{ref:"chart",staticClass:"sm-liquidFill", attrs:{"id":"chart"}})}
43014+ var LiquidFillvue_type_template_id_511ce336_staticRenderFns = []
4301543015
4301643016
43017- // CONCATENATED MODULE: ./src/view/components/LiquidFill.vue?vue&type=template&id=570ba3ea &
43017+ // CONCATENATED MODULE: ./src/view/components/LiquidFill.vue?vue&type=template&id=511ce336 &
4301843018
4301943019// EXTERNAL MODULE: external "echarts-liquidfill"
4302043020var external_echarts_liquidfill_ = __webpack_require__("hQXD");
@@ -43027,11 +43027,6 @@ var external_echarts_liquidfill_ = __webpack_require__("hQXD");
4302743027//
4302843028//
4302943029//
43030- //
43031- //
43032- //
43033- //
43034- //
4303543030
4303643031
4303743032
@@ -43114,7 +43109,9 @@ var external_echarts_liquidfill_ = __webpack_require__("hQXD");
4311443109 });
4311543110 this.chart = external_echarts_default.a.init(this.$refs.chart);
4311643111 this.updateChart();
43117- this.size = this.$el.offsetWidth * 0.75 + 'px';
43112+ this.chart.on('finished', function () {
43113+ _this.chart.resize();
43114+ });
4311843115 this.$on("themeStyle", function () {
4311943116 _this.waveColorData = _this.getColor(0);
4312043117 _this.labelColorData = _this.getTextColor;
@@ -43124,11 +43121,7 @@ var external_echarts_liquidfill_ = __webpack_require__("hQXD");
4312443121 _this.updateChart(true);
4312543122 });
4312643123 addEventListener('resize', function () {
43127- _this.size = _this.$el.offsetWidth * 0.75 + 'px';
43128-
43129- _this.$nextTick(function () {
43130- this.chart.resize();
43131- });
43124+ _this.chart.resize();
4313243125 });
4313343126 },
4313443127 methods: {
@@ -43187,8 +43180,8 @@ var external_echarts_liquidfill_ = __webpack_require__("hQXD");
4318743180
4318843181var LiquidFill_component = normalizeComponent(
4318943182 components_LiquidFillvue_type_script_lang_js_,
43190- LiquidFillvue_type_template_id_570ba3ea_render ,
43191- LiquidFillvue_type_template_id_570ba3ea_staticRenderFns ,
43183+ LiquidFillvue_type_template_id_511ce336_render ,
43184+ LiquidFillvue_type_template_id_511ce336_staticRenderFns ,
4319243185 false,
4319343186 null,
4319443187 null,
0 commit comments