fix: UDM鉴权键入Tenant Name主动重新获取列表
This commit is contained in:
@@ -1104,8 +1104,7 @@ function delBigRow(bigIndex: any) {
|
|||||||
bigRows.value.splice(bigIndex, 1);
|
bigRows.value.splice(bigIndex, 1);
|
||||||
}
|
}
|
||||||
|
|
||||||
onMounted(() => {
|
function fnTenantNameFocus() {
|
||||||
// 初始字典数据
|
|
||||||
Promise.allSettled([listTenant({ parentId: 0 })]).then(resArr => {
|
Promise.allSettled([listTenant({ parentId: 0 })]).then(resArr => {
|
||||||
if (resArr[0].status === 'fulfilled') {
|
if (resArr[0].status === 'fulfilled') {
|
||||||
var tenantNameData = resArr[0].value;
|
var tenantNameData = resArr[0].value;
|
||||||
@@ -1125,7 +1124,9 @@ onMounted(() => {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
}
|
||||||
|
|
||||||
|
onMounted(() => {
|
||||||
// 获取网元网元列表
|
// 获取网元网元列表
|
||||||
useNeInfoStore()
|
useNeInfoStore()
|
||||||
.fnNelist()
|
.fnNelist()
|
||||||
@@ -1218,6 +1219,7 @@ onMounted(() => {
|
|||||||
<a-auto-complete
|
<a-auto-complete
|
||||||
v-model:value="queryParams.tenantName"
|
v-model:value="queryParams.tenantName"
|
||||||
:options="modalStateFromOption.tenantName"
|
:options="modalStateFromOption.tenantName"
|
||||||
|
@focus="fnTenantNameFocus"
|
||||||
></a-auto-complete>
|
></a-auto-complete>
|
||||||
</a-form-item>
|
</a-form-item>
|
||||||
</a-col>
|
</a-col>
|
||||||
|
|||||||
Reference in New Issue
Block a user