fix: application button question
This commit is contained in:
parent
dc424b3720
commit
c5b56dec38
@ -71,11 +71,18 @@
|
|||||||
</el-button>
|
</el-button>
|
||||||
</div>
|
</div>
|
||||||
<div>
|
<div>
|
||||||
<el-button :disabled="!accessToken?.is_active" type="primary">
|
<el-button
|
||||||
<a v-if="accessToken?.is_active" :href="shareUrl" target="_blank">
|
v-if="accessToken?.is_active"
|
||||||
|
:disabled="!accessToken?.is_active"
|
||||||
|
type="primary"
|
||||||
|
tag="a"
|
||||||
|
:href="shareUrl"
|
||||||
|
target="_blank"
|
||||||
|
>
|
||||||
|
{{ $t('views.applicationOverview.appInfo.demo') }}
|
||||||
|
</el-button>
|
||||||
|
<el-button v-else :disabled="!accessToken?.is_active" type="primary">
|
||||||
{{ $t('views.applicationOverview.appInfo.demo') }}
|
{{ $t('views.applicationOverview.appInfo.demo') }}
|
||||||
</a>
|
|
||||||
<span v-else> {{ $t('views.applicationOverview.appInfo.demo') }}</span>
|
|
||||||
</el-button>
|
</el-button>
|
||||||
<el-button :disabled="!accessToken?.is_active" @click="openDialog">
|
<el-button :disabled="!accessToken?.is_active" @click="openDialog">
|
||||||
{{ $t('views.applicationOverview.appInfo.embedThirdParty') }}
|
{{ $t('views.applicationOverview.appInfo.embedThirdParty') }}
|
||||||
@ -353,8 +360,7 @@ function getDetail() {
|
|||||||
?.filter((v: any) => v.id === 'base-node')
|
?.filter((v: any) => v.id === 'base-node')
|
||||||
.map((v: any) => {
|
.map((v: any) => {
|
||||||
apiInputParams.value = v.properties.api_input_field_list
|
apiInputParams.value = v.properties.api_input_field_list
|
||||||
? v.properties.api_input_field_list
|
? v.properties.api_input_field_list.map((v: any) => {
|
||||||
.map((v: any) => {
|
|
||||||
return {
|
return {
|
||||||
name: v.variable,
|
name: v.variable,
|
||||||
value: v.default_value
|
value: v.default_value
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user