n20-common-lib 2.1.30 → 2.1.32

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": "n20-common-lib",
3
- "version": "2.1.30",
3
+ "version": "2.1.32",
4
4
  "private": false,
5
5
  "main": "src/index.js",
6
6
  "scripts": {
@@ -133,7 +133,7 @@ export default {
133
133
  value: {
134
134
  handler(val) {
135
135
  if (this.rangeAuto) {
136
- if (val || val === '0') {
136
+ if (val || val === 0) {
137
137
  let nF = N.toString(val).split('.')[1] || ''
138
138
  if (nF.length < this.fNum) {
139
139
  return (this.valueStr = N.addThousands(N.subFixed(val, this.fNum)))
@@ -442,7 +442,7 @@ export default {
442
442
  clearTimeout(this.getNNumTimeOut)
443
443
  if (!document.hidden) {
444
444
  Promise.all([
445
- axios.get('/bems/wkb/messageCenter/getUnReadTotal/' + this.username, null, { loading: false, noMsg: true }),
445
+ axios.get('/bems/wkb/messageCenter/getUnReadTotal/' + this.userNo, null, { loading: false, noMsg: true }),
446
446
  axios.get('/bems/1.0/notice/notReadCount', null, {
447
447
  loading: false,
448
448
  noMsg: true
@@ -596,7 +596,7 @@ export default {
596
596
  clearTimeout(this.getNNumTimeOut)
597
597
  if (!document.hidden) {
598
598
  Promise.all([
599
- axios.get('/bems/wkb/messageCenter/getUnReadTotal/' + this.username, null, { loading: false, noMsg: true }),
599
+ axios.get('/bems/wkb/messageCenter/getUnReadTotal/' + this.userNo, null, { loading: false, noMsg: true }),
600
600
  axios.get('/bems/1.0/notice/notReadCount', null, {
601
601
  loading: false,
602
602
  noMsg: true