fix: 在开机确认提示中优先显示设备标题
当设备标题存在时,在开机确认提示中优先显示标题而非设备编号,提升用户体验
This commit is contained in:
@@ -203,7 +203,7 @@ Page({
|
||||
var a = this;
|
||||
wx.showModal({
|
||||
title: "提示",
|
||||
content: "你当前将要使用的机器编号是:".concat(e.globalData.devicecode, ",确认开机吗?"),
|
||||
content: "你当前将要使用的机器编号是:".concat(e.globalData.title || e.globalData.devicecode, ",确认开机吗?"),
|
||||
success: function (i) {
|
||||
i.confirm && (a.isSubmit = !0, wx.showLoading({
|
||||
title: "正在启动"
|
||||
|
||||
Reference in New Issue
Block a user