From 3d7bf6dff3d1e2f12c4ecd0120ee110348ccdf49 Mon Sep 17 00:00:00 2001
From: riku <risaku@163.com>
Date: 星期四, 21 十二月 2023 16:27:09 +0800
Subject: [PATCH] 1. 自评预检查功能修改中

---
 src/components/search-option/FYOptionUserType.vue |   20 +++++++++-----------
 1 files changed, 9 insertions(+), 11 deletions(-)

diff --git a/src/components/search-option/FYOptionUserType.vue b/src/components/search-option/FYOptionUserType.vue
index e274241..050f772 100644
--- a/src/components/search-option/FYOptionUserType.vue
+++ b/src/components/search-option/FYOptionUserType.vue
@@ -6,12 +6,7 @@
       placeholder="鐢ㄦ埛绫诲瀷"
       style="width: 150px"
     >
-      <el-option
-        v-for="s in userTypes"
-        :key="s.value"
-        :label="s.label"
-        :value="s"
-      />
+      <el-option v-for="s in userTypes" :key="s.value" :label="s.label" :value="s" />
     </el-select>
   </el-form-item>
 </template>
@@ -24,21 +19,24 @@
     // 鏄惁鍦ㄩ閫夐」澶勬坊鍔犫�滃叏閮ㄢ�濋�夐」
     allOption: {
       type: Boolean,
-      default: true,
+      default: true
     },
     // 杩斿洖缁撴灉
     value: Object,
     // 鏄惁榛樿杩斿洖鍒濆閫夐」
     initValue: {
       type: Boolean,
-      default: true,
+      default: true
     },
-    prop: String
+    prop: {
+      type: String,
+      default: '_usertype'
+    }
   },
   emits: ['update:value'],
   data() {
     return {
-      userTypes: enumUser(this.allOption),
+      userTypes: enumUser(this.allOption)
     };
   },
   methods: {
@@ -50,6 +48,6 @@
     if (this.initValue) {
       this.handleChange(this.userTypes[0]);
     }
-  },
+  }
 };
 </script>

--
Gitblit v1.9.3