U
he wei
2025-04-24 368413ba07c0876e8b4eb8ba3484b27fa843d68f
src/views/device/realtime/settings.vue
@@ -168,7 +168,8 @@
<template>
  <!-- 遍历所有的锁 给每个锁选择 机柜序号 门序号 -->
  <!-- <el-form :model="lockConfigs"> -->
  <el-form>
  <el-form class="form">
    <div class="scroller">
    <template v-for="(lock, index) in locationInfo.control" :key="index">
      <el-row :gutter="16">
        <el-col :span="24">
@@ -207,6 +208,7 @@
        </el-col>
      </el-row>
    </template>
    </div>
    <div class="footer">
      <el-button @click="cancel">取消</el-button>
      <el-button type="primary" @click="submitForm">提交配置</el-button>
@@ -215,6 +217,16 @@
</template>
<style scoped lang="less">
// .form {
//   padding-right: 8px;
// }
.scroller {
  max-height: 400px;
  overflow-y: auto;
  overflow-x: hidden;
  margin-right: -8px;
  padding-right: 18px;
}
.info {
  font-size: 14px;
  color: #333;