feat: 识别码机,追加商米SN标识
This commit is contained in:
@@ -162,22 +162,8 @@ export default {
|
||||
};
|
||||
},
|
||||
onLoad: function () {
|
||||
// 写死
|
||||
// this.machineId = "861741042996303";
|
||||
// this.getDataList();
|
||||
// return;
|
||||
|
||||
plus.device.getInfo({
|
||||
success: (e) => {
|
||||
const imei = e.imei.split(",");
|
||||
this.machineId = imei[0];
|
||||
this.getDataList();
|
||||
},
|
||||
fail: function (e) {
|
||||
console.log("getDeviceInfo failed: " + JSON.stringify(e));
|
||||
},
|
||||
});
|
||||
// this.getDataList()
|
||||
this.machineId = uni.getStorageSync("store_obj").imei
|
||||
this.getDataList()
|
||||
},
|
||||
methods: {
|
||||
all_price(spendAmount, couponAmount, pointAmount) {
|
||||
|
Reference in New Issue
Block a user