Former-commit-id: b337693b3c28bedb1d2f098406ff18ed3104c575
TangShanKaiPing
wanggang 6 years ago
parent 0f0f8e7487
commit 64e1dbee49

@ -9,6 +9,7 @@ using IoTShared.Services;
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.SignalR;
using System;
namespace IoTCenter.Areas.Admin.Controllers
{
@ -23,6 +24,12 @@ namespace IoTCenter.Areas.Admin.Controllers
this._pageHubContext = pageHubContext;
}
public override IActionResult Add()
{
var model = new EditNodeModel { Number = Guid.NewGuid().ToBase62() };
return View(model);
}
public override IActionResult Edit(EditNodeModel model)
{
if (ModelState.IsValid)

@ -136,6 +136,7 @@
<td></td>
</tr>
</table>
<p v-else>该摄像头不支持云台</p>
</div>
<div class="box box-solid">
<div class="box-body row">

Loading…
Cancel
Save