From d647d78c29afaeff8e6ba01d01cf9c2dc6e53479 Mon Sep 17 00:00:00 2001
From: yz3456 <2753272399@qq.com>
Date: 星期六, 20 四月 2024 18:43:11 +0800
Subject: [PATCH] 修改所有备忘录上传图片

---
 ruoyi-ui/src/views/pet/petInfo.vue |    6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)

diff --git a/ruoyi-ui/src/views/pet/petInfo.vue b/ruoyi-ui/src/views/pet/petInfo.vue
index cf3fac5..00d936b 100644
--- a/ruoyi-ui/src/views/pet/petInfo.vue
+++ b/ruoyi-ui/src/views/pet/petInfo.vue
@@ -96,7 +96,7 @@
                     <el-input v-model="petList.sex === 1 ? '闆勬��':'闆屾��'" :disabled="true"></el-input>
                   </template>
                   <template v-else>
-                    <el-select v-model="petList.sex" placeholder="璇烽�夋嫨淇濇磥/鏀剁撼" clearable :style="{width: '100%'}">
+                    <el-select v-model="petList.sex" placeholder="璇烽�夋嫨鎬у埆" clearable :style="{width: '100%'}">
                       <el-option label="闆屾��" value="0"></el-option>
                       <el-option label="闆勬��" value="1"></el-option>
                     </el-select>
@@ -581,6 +581,10 @@
       this.loading = true;
       getPetList(id).then((response) => {
         this.petList = response.data;
+        if(this.petList.sex==1)
+        	this.petList.sex = '闆勬��'
+        else
+        	this.petList.sex = '闆屾��'
         console.log(this.petList)
      //   alert(this.petList.headPicture)
         this.loading = false;

--
Gitblit v1.9.1