修正按钮提示词

This commit is contained in:
WindowBird 2025-10-16 16:23:01 +08:00
parent b068d82b21
commit 1575845de7

View File

@ -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}`,