w-ui-v1 1.0.53 → 1.0.54

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.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/utils/nfc.ts +3 -3
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "w-ui-v1",
3
- "version": "1.0.53",
3
+ "version": "1.0.54",
4
4
  "description": "w-ui",
5
5
  "author": "wgxshh",
6
6
  "license": "ISC",
package/utils/nfc.ts CHANGED
@@ -169,7 +169,7 @@ function showToast(msg) {
169
169
  function __read(intent) {
170
170
  try {
171
171
  var content = "";
172
- waiting.setTitle('请勿移开标签\n正在读取数据...');
172
+ waiting.setTitle('请勿移开卡\n正在读取数据...');
173
173
  var tag = plus.android.importClass("android.nfc.Tag");
174
174
  tag = intent.getParcelableExtra(NfcAdapter.EXTRA_TAG);
175
175
  var bytesId = intent.getByteArrayExtra(NfcAdapter.EXTRA_ID);
@@ -239,13 +239,13 @@ function writeData() {
239
239
  return;
240
240
  }
241
241
  readyWriteData = true;
242
- waiting = plus.nativeUI.showWaiting("请将NFC标签靠近!");
242
+ waiting = plus.nativeUI.showWaiting("请将NFC卡靠近!");
243
243
  }
244
244
 
245
245
  function readData(getCardNo) {
246
246
  readyRead = true;
247
247
  _getCardNo = getCardNo
248
- waiting = plus.nativeUI.showWaiting("请将NFC标签靠近!", {
248
+ waiting = plus.nativeUI.showWaiting("请将NFC卡靠近!", {
249
249
  modal: false
250
250
  });
251
251
  }