[update] 修改bug80038

This commit is contained in:
lideqin
2024-01-08 09:53:28 +08:00
parent 090070f242
commit 1420c5a51e
3 changed files with 6 additions and 6 deletions
@@ -24,7 +24,7 @@
<!-- 项目-->
<a-form-item :label="$t('project')" :labelCol="labelCol" :wrapperCol="wrapperCol">
<a-select :placeholder="$t('pleaseSelect') + $t('project')" v-decorator="['project', validatorRules.project]">
<a-select-option v-for="item in projectSelectOptions" :key="item.id">{{ item.projectName }}</a-select-option>
<a-select-option v-for="item in projectSelectOptions" :key="item.id" :title="item.projectName">{{ item.projectName }}</a-select-option>
</a-select>
</a-form-item>
</a-col>
@@ -146,7 +146,7 @@ export default {
},
// 获取项目下拉框数据
initProjectOptions () {
getCarTypeProjectList().then(res => {
getCarTypeProjectList({ column: 'createTime', order: 'desc' }).then(res => {
if (res.success) {
this.projectSelectOptions = res.result
} else {