优化设备编辑页面

pull/1270/head
648540858 2024-01-15 18:36:31 +08:00
parent 13e2a96dae
commit 9b62fbe467
2 changed files with 2 additions and 2 deletions

View File

@ -277,7 +277,7 @@ public class DeviceServiceImpl implements IDeviceService {
// 设置最小值为30 // 设置最小值为30
int subscribeCycleForCatalog = Math.max(device.getSubscribeCycleForMobilePosition(),30); int subscribeCycleForCatalog = Math.max(device.getSubscribeCycleForMobilePosition(),30);
// 刷新订阅 // 刷新订阅
dynamicTask.startCron(device.getDeviceId() + "mobile_position" , mobilePositionSubscribeTask, (subscribeCycleForCatalog) * 1000); dynamicTask.startCron(device.getDeviceId() + "mobile_position" , mobilePositionSubscribeTask, subscribeCycleForCatalog * 1000);
return true; return true;
} }

View File

@ -20,7 +20,7 @@
<el-input v-model="form.name" clearable></el-input> <el-input v-model="form.name" clearable></el-input>
</el-form-item> </el-form-item>
<el-form-item label="密码" prop="password"> <el-form-item label="密码" prop="password">
<el-input type="password" v-model="form.password" clearable></el-input> <el-input v-model="form.password" clearable></el-input>
</el-form-item> </el-form-item>
<el-form-item label="收流IP" prop="sdpIp"> <el-form-item label="收流IP" prop="sdpIp">
<el-input type="sdpIp" v-model="form.sdpIp" clearable></el-input> <el-input type="sdpIp" v-model="form.sdpIp" clearable></el-input>