leisure-core 0.3.2 → 0.3.4

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/index.js CHANGED
@@ -1,5 +1,9 @@
1
1
  import LeDrag from "leisure-js/drag/drag.js";
2
- import { parseTime, formatMoney } from "leisure-js/common/dformat";
2
+ import {
3
+ parseTime,
4
+ formatMoney,
5
+ formatCurrency,
6
+ } from "leisure-js/common/dformat";
3
7
  import LeLogin from "./le-login/index.js";
4
8
  import LeHome from "./le-home/index.js";
5
9
  import LeButton from "./le-button/index.js";
@@ -86,6 +90,7 @@ const install = function (Vue) {
86
90
 
87
91
  Vue.prototype.parseTime = parseTime;
88
92
  Vue.prototype.formatMoney = formatMoney;
93
+ Vue.prototype.formatCurrency = formatCurrency;
89
94
 
90
95
  Vue.directive("permission", {
91
96
  inserted: function (el, bindings) {
@@ -100,7 +100,6 @@ export default {
100
100
  getAllCongig() {
101
101
  list().then((res) => {
102
102
  this.list = res.data.data;
103
- console.log(this.list);
104
103
  });
105
104
  },
106
105
  getAllCouponList() {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "leisure-core",
3
- "version": "0.3.2",
3
+ "version": "0.3.4",
4
4
  "description": "leisure-core是leisure-ui-core的简称,是京心数据基于vue2.0开发的一套后台系统框架与js库,包含登录,首页框架等",
5
5
  "private": false,
6
6
  "author": "北方乐逍遥(zcx7878)",
@@ -17,7 +17,7 @@
17
17
  "dayjs": "^1.11.7",
18
18
  "echarts": "^5.4.2",
19
19
  "element-ui": "^2.15.14",
20
- "leisure-js": "^0.2.0",
20
+ "leisure-js": "^0.2.3",
21
21
  "html2canvas": "^1.4.1",
22
22
  "js-base64": "^3.7.2",
23
23
  "less": "^4.1.3",