diff --git a/pages/setting/setting.vue b/pages/setting/setting.vue
index 9c87fad..ef1f186 100644
--- a/pages/setting/setting.vue
+++ b/pages/setting/setting.vue
@@ -17,7 +17,7 @@
MAC/ID
- {{currentLockInfo.mac}}
+ {{currentLockInfo.mac}}/{{currentLockInfo.lockId}}
@@ -98,9 +98,10 @@ export default {
},
deleteLock() {
const that = this
+ const message = that.currentLockInfo.userType === 110301 ? '删除锁后,所有信息都会一起删除,确定删除锁吗?' : '确定删除该钥匙吗?'
uni.showModal({
title: '提示',
- content: '确定删除该门锁吗?',
+ content: message,
success: async function (res) {
if (res.confirm) {
uni.showLoading({