From e28e9395819fd992bc3e168b6ff89fb6f538f1bc Mon Sep 17 00:00:00 2001
From: 唐耀东 <18861537@qq.com>
Date: 星期一, 23 五月 2022 15:25:34 +0800
Subject: [PATCH] 提交代码

---
 src/views/construction/iot/index.vue |    7 +------
 1 files changed, 1 insertions(+), 6 deletions(-)

diff --git a/src/views/construction/iot/index.vue b/src/views/construction/iot/index.vue
index 644097d..c8985a1 100644
--- a/src/views/construction/iot/index.vue
+++ b/src/views/construction/iot/index.vue
@@ -68,7 +68,6 @@
             icon="el-icon-plus"
             size="mini"
             @click="handleAdd"
-            v-hasPermi="['oa:iot:add']"
         >鏂板
         </el-button>
       </el-col>
@@ -80,7 +79,6 @@
             size="mini"
             :disabled="single"
             @click="handleUpdate"
-            v-hasPermi="['oa:iot:edit']"
         >淇敼
         </el-button>
       </el-col>
@@ -92,7 +90,6 @@
             size="mini"
             :disabled="multiple"
             @click="handleDelete"
-            v-hasPermi="['oa:iot:remove']"
         >鍒犻櫎
         </el-button>
       </el-col>
@@ -138,7 +135,6 @@
               type="text"
               icon="el-icon-edit"
               @click="handleUpdate(scope.row)"
-              v-hasPermi="['oa:iot:edit']"
           >淇敼
           </el-button>
           <el-button
@@ -147,7 +143,6 @@
               class="del-btn"
               icon="el-icon-delete"
               @click="handleDelete(scope.row)"
-              v-hasPermi="['oa:iot:remove']"
           >鍒犻櫎
           </el-button>
         </template>
@@ -331,7 +326,7 @@
         lan: [
           {required: true, message: "LAN涓嶈兘涓虹┖", trigger: "blur"},
           {
-            pattern: /^[A-F0-9]{2}(-[A-F0-9]{2}){5}$|^[A-F0-9]{2}(:[A-F0-9]{2}){5}$|^[A-F0-9]{12}$|^[A-F0-9]{4}(\.[A-F0-9]{4}){2}$/,
+            pattern: /^[0-9a-fA-F:]*$/,
             message: "璇疯緭鍏ユ纭殑LAN",
             trigger: "blur"
           }

--
Gitblit v1.9.1