Compare commits

...

2 Commits

Author SHA1 Message Date
dragon
f34a7b9430 删除v-if判断条件 2024-07-18 16:56:11 +08:00
dragon
fbd4fdcbd1 勋章请求排序 2024-07-18 16:43:13 +08:00
2 changed files with 6 additions and 8 deletions

View File

@@ -129,7 +129,7 @@
filterable
v-model="controlsObj.value"
placeholder="请选择"
style="width:100%"
style="width: 100%"
>
<el-option
v-for="item in controlsObj.options"
@@ -199,11 +199,9 @@
:on-error="handleAvatarError"
>
<img
v-if="controlsObj.imageUrl1"
:src="controlsObj.imageUrl1"
class="avatar"
/>
<el-icon v-else class="avatar-uploader-icon"><Plus /></el-icon>
</el-upload>
</div>
@@ -383,11 +381,11 @@ export default {
desc: "全部",
id: "",
});
listPartitionInfo().then((res) => {
this.controlsObj.options = res.data;
this.getData();
});
});
listPartitionInfo().then((res) => {
this.controlsObj.options = res.data;
});
this.getData();
},
methods: {
// 查询接口

View File

@@ -243,6 +243,7 @@ export default {
listAll().then((res) => {
if (res.code == 200) {
this.grantObj.options = res.data;
this.getData();
} else {
ElMessage({
showClose: true,
@@ -251,7 +252,6 @@ export default {
});
}
});
this.getData();
},
methods: {
// 查询接口