This commit is contained in:
Qiuxia Fan 2022-04-24 13:33:21 +08:00
parent d6af4ceb85
commit 52d4b28635
2 changed files with 3 additions and 3 deletions

View File

@ -74,7 +74,7 @@ async function searchEndpoints(keyword: string) {
if (!selectorStore.currentService) {
return;
}
const service = selectorStore.currentService.value;
const service = selectorStore.currentService.id;
const res = await profileStore.getEndpoints(service, keyword);
if (res.errors) {

View File

@ -21,7 +21,7 @@ limitations under the License. -->
class="profile-input"
size="small"
:value="endpointName"
:options="profileStore.taskEndpoints"
:options="profileStore.endpoints"
placeholder="Select a endpoint"
:isRemote="true"
@change="changeEndpoint"
@ -118,7 +118,7 @@ async function searchEndpoints(keyword: string) {
if (!selectorStore.currentService) {
return;
}
const service = selectorStore.currentService.value;
const service = selectorStore.currentService.id;
const res = await profileStore.getEndpoints(service, keyword);
if (res.errors) {