fix(admin): 修正设置主IP确认文案,移除CloudInit重建描述
Build and Deploy Vue3 / build (push) Successful in 1m31s
Build and Deploy Vue3 / deploy (push) Successful in 34s

VmDetail 与 UserVmDetail 设置主IP提示与实际行为一致,仅提示将重启虚拟机。

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
shiran
2026-05-26 16:05:07 +08:00
parent 765f925482
commit 1b44186e44
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -1791,7 +1791,7 @@ const handleDeleteVmNetwork = (row) => {
const handleSetVmNetworkPrimary = (row) => {
ElMessageBox.confirm(
`将「${row.address || row.name}」设为主IP?设置后将触发 CloudInit 重建并重启虚拟机。`,
`将「${row.address || row.name}」设为主IP?设置后将重启虚拟机。`,
'设置主IP', { confirmButtonText: '确定', cancelButtonText: '取消', type: 'warning' }
).then(async () => {
try {
+1 -1
View File
@@ -2939,7 +2939,7 @@ const handleNetDelete = (row) => {
const handleSetPrimary = (row) => {
ElMessageBox.confirm(
`将「${row.address || row.name}」设为主IP?设置后将触发 CloudInit 重建并重启虚拟机。`,
`将「${row.address || row.name}」设为主IP?设置后将重启虚拟机。`,
'设置主IP', { confirmButtonText: '确定', cancelButtonText: '取消', type: 'warning' }
).then(async () => {
try {