jufubao-base 1.0.237-beta14 → 1.0.237-beta15

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "jufubao-base",
3
- "version": "1.0.237-beta14",
3
+ "version": "1.0.237-beta15",
4
4
  "private": false,
5
5
  "description": "聚福宝业务组件基础插件包",
6
6
  "main": "index.js",
@@ -311,14 +311,12 @@
311
311
  let max = this.getAmout(res.total_amount);
312
312
  // 数量
313
313
  let value = this.getAmout(res.save_amount);
314
- // 计算
315
- let rate = this.getAmout(Math.round((value * 1000) / max));
316
314
  this.option = {
317
315
  backgroundColor: '#fff', // 设置图表区域的背景颜色
318
316
  borderRadius: 10, // 设置图表区域的圆角
319
317
  title: [
320
318
  {
321
- text: '{a|周期已省}\n{b|' + rate + '}', // 显示标题
319
+ text: '{a|周期已省}\n{b|' + value + '}', // 显示标题
322
320
  show: true, // 是否显示
323
321
  x: 'center', // x轴位置
324
322
  y: 'center', // y轴位置
@@ -405,14 +403,12 @@
405
403
  let max = this.getAmout(res.total_amount);
406
404
  // 数量
407
405
  let value = this.getAmout(res.save_amount);
408
- // 计算
409
- let rate = this.getAmout(Math.round((value * 1000) / max));
410
406
  this.option = {
411
407
  backgroundColor: '#fff', // 设置图表区域的背景颜色
412
408
  borderRadius: 10, // 设置图表区域的圆角
413
409
  title: [
414
410
  {
415
- text: '{a|周期已省}\n{b|' + rate + '}', // 显示标题
411
+ text: '{a|周期已省}\n{b|' + value + '}', // 显示标题
416
412
  show: true, // 是否显示
417
413
  x: 'center', // x轴位置
418
414
  y: 'center', // y轴位置