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