@@ -33,7 +33,8 @@ let techListsArray = [
['android.nfc.tech.MifareUltralight']
];
// 要写入的数据
-let text = '{id:666,name:aaa,stie:ffff.com}';
+// let text = '{id:666,name:aaa,stie:ffff.com}';
+let text = '';
let readResult = '';
export default {
@@ -99,7 +99,7 @@ export default {
if (response.data.code == 200) {
if (that.isNfc) {
// 调用 js 文件里面的方法
- // testNfc.setTxt(that.cardId);
+ testNfc.setTxt(that.cardId);
testNfc.writeData();
} else {
that.$refs.uToast.show({