fix(admin): 修正设置主IP确认文案,移除CloudInit重建描述
VmDetail 与 UserVmDetail 设置主IP提示与实际行为一致,仅提示将重启虚拟机。 Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -1791,7 +1791,7 @@ const handleDeleteVmNetwork = (row) => {
|
|||||||
|
|
||||||
const handleSetVmNetworkPrimary = (row) => {
|
const handleSetVmNetworkPrimary = (row) => {
|
||||||
ElMessageBox.confirm(
|
ElMessageBox.confirm(
|
||||||
`将「${row.address || row.name}」设为主IP?设置后将触发 CloudInit 重建并重启虚拟机。`,
|
`将「${row.address || row.name}」设为主IP?设置后将重启虚拟机。`,
|
||||||
'设置主IP', { confirmButtonText: '确定', cancelButtonText: '取消', type: 'warning' }
|
'设置主IP', { confirmButtonText: '确定', cancelButtonText: '取消', type: 'warning' }
|
||||||
).then(async () => {
|
).then(async () => {
|
||||||
try {
|
try {
|
||||||
|
|||||||
@@ -2939,7 +2939,7 @@ const handleNetDelete = (row) => {
|
|||||||
|
|
||||||
const handleSetPrimary = (row) => {
|
const handleSetPrimary = (row) => {
|
||||||
ElMessageBox.confirm(
|
ElMessageBox.confirm(
|
||||||
`将「${row.address || row.name}」设为主IP?设置后将触发 CloudInit 重建并重启虚拟机。`,
|
`将「${row.address || row.name}」设为主IP?设置后将重启虚拟机。`,
|
||||||
'设置主IP', { confirmButtonText: '确定', cancelButtonText: '取消', type: 'warning' }
|
'设置主IP', { confirmButtonText: '确定', cancelButtonText: '取消', type: 'warning' }
|
||||||
).then(async () => {
|
).then(async () => {
|
||||||
try {
|
try {
|
||||||
|
|||||||
Reference in New Issue
Block a user