修正按钮提示词
This commit is contained in:
parent
b068d82b21
commit
1575845de7
|
|
@ -266,7 +266,7 @@ export default {
|
||||||
// 底部按钮:强制开启
|
// 底部按钮:强制开启
|
||||||
async handleForceOpen() {
|
async handleForceOpen() {
|
||||||
if (!this.ensureUnitSelected()) return;
|
if (!this.ensureUnitSelected()) return;
|
||||||
const ok = await this.confirmAction("确定要强制开启该单元吗?");
|
const ok = await this.confirmAction("确定要强制开启该牌位吗?");
|
||||||
if (!ok) return;
|
if (!ok) return;
|
||||||
await this.performPut(
|
await this.performPut(
|
||||||
`/bst/memorial/open/${this.selectedUnitId}`,
|
`/bst/memorial/open/${this.selectedUnitId}`,
|
||||||
|
|
@ -278,7 +278,7 @@ export default {
|
||||||
// 底部按钮:强制关闭
|
// 底部按钮:强制关闭
|
||||||
async handleForceClose() {
|
async handleForceClose() {
|
||||||
if (!this.ensureUnitSelected()) return;
|
if (!this.ensureUnitSelected()) return;
|
||||||
const ok = await this.confirmAction("确定要强制关闭该单元吗?");
|
const ok = await this.confirmAction("确定要强制关闭该牌位吗?");
|
||||||
if (!ok) return;
|
if (!ok) return;
|
||||||
await this.performPut(
|
await this.performPut(
|
||||||
`/bst/memorial/close/${this.selectedUnitId}`,
|
`/bst/memorial/close/${this.selectedUnitId}`,
|
||||||
|
|
@ -290,7 +290,7 @@ export default {
|
||||||
// 底部按钮:时长归零
|
// 底部按钮:时长归零
|
||||||
async handleResetDuration() {
|
async handleResetDuration() {
|
||||||
if (!this.ensureUnitSelected()) return;
|
if (!this.ensureUnitSelected()) return;
|
||||||
const ok = await this.confirmAction("确定要将该单元时长归零吗?");
|
const ok = await this.confirmAction("确定要将该牌位时长归零吗?");
|
||||||
if (!ok) return;
|
if (!ok) return;
|
||||||
await this.performPut(
|
await this.performPut(
|
||||||
`/bst/memorial/reset/${this.selectedUnitId}`,
|
`/bst/memorial/reset/${this.selectedUnitId}`,
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user