fix: bug#10953
This commit is contained in:
parent
ae1754fa94
commit
d8f19671c2
|
@ -205,7 +205,7 @@ const opsStepDetails: recommendList[] = [
|
|||
{
|
||||
title: '网络组件',
|
||||
details: '根据不同的传输类型配置平台底层网络组件相关参数。',
|
||||
iconUrl: '/images/home/Frame4529.png',
|
||||
iconUrl: '/images/home/Frame4528.png',
|
||||
linkUrl: 'link/Type',
|
||||
},
|
||||
{
|
||||
|
|
|
@ -65,7 +65,7 @@ const opsStepDetails: recommendList[] = [
|
|||
{
|
||||
title: '网络组件',
|
||||
details: '根据不同的传输类型配置平台底层网络组件相关参数。',
|
||||
iconUrl: '/images/home/Frame4529.png',
|
||||
iconUrl: '/images/home/Frame4528.png',
|
||||
linkUrl: 'link/Type',
|
||||
},
|
||||
{
|
||||
|
|
|
@ -1675,9 +1675,23 @@ function init() {
|
|||
if (!form.data.id) {
|
||||
// 新增时, 切换应用类型, 清空公用字段的值
|
||||
form.data.page.baseUrl = '';
|
||||
form.data.page.parameters = [];
|
||||
form.data.apiClient.baseUrl = '';
|
||||
form.data.page.parameters = [];
|
||||
form.data.apiClient.parameters = [];
|
||||
form.data.apiClient.authConfig.oauth2.authorizationUrl = '';
|
||||
form.data.sso.configuration.oauth2.authorizationUrl = '';
|
||||
form.data.apiClient.authConfig.oauth2.clientId = '';
|
||||
form.data.sso.configuration.oauth2.clientId = '';
|
||||
form.data.apiClient.authConfig.oauth2.clientSecret = '';
|
||||
form.data.sso.configuration.oauth2.clientSecret = '';
|
||||
form.data.apiClient.headers = [];
|
||||
form.data.apiServer.roleIdList = [];
|
||||
form.data.apiServer.orgIdList = [];
|
||||
form.data.description = '';
|
||||
form.data.apiServer.redirectUri = '';
|
||||
form.data.sso.configuration.appSecret = '';
|
||||
|
||||
// formRef.value?.resetFields();
|
||||
}
|
||||
emit('changeApplyType', n);
|
||||
if (routeQuery.id) return;
|
||||
|
|
Loading…
Reference in New Issue