feat: 概览
This commit is contained in:
parent
463cdd2ae1
commit
16c3dbc8c3
@ -153,7 +153,7 @@ const getAccessToken: (applicaiton_id: string, loading?: Ref<boolean>) => Promis
|
|||||||
applicaiton_id,
|
applicaiton_id,
|
||||||
loading
|
loading
|
||||||
) => {
|
) => {
|
||||||
return get(`${prefix}/${applicaiton_id}/access-token`, undefined, loading)
|
return get(`${prefix}/${applicaiton_id}/access_token`, undefined, loading)
|
||||||
}
|
}
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
|
|||||||
@ -17,7 +17,7 @@
|
|||||||
<el-switch />
|
<el-switch />
|
||||||
</div>
|
</div>
|
||||||
<el-row class="mt-16">
|
<el-row class="mt-16">
|
||||||
<el-col :span="12">
|
<el-col :span="24">
|
||||||
<el-text type="info">公开访问链接</el-text>
|
<el-text type="info">公开访问链接</el-text>
|
||||||
<div class="mt-4">
|
<div class="mt-4">
|
||||||
<span class="vertical-middle lighter">
|
<span class="vertical-middle lighter">
|
||||||
@ -29,7 +29,7 @@
|
|||||||
</el-button>
|
</el-button>
|
||||||
</div>
|
</div>
|
||||||
</el-col>
|
</el-col>
|
||||||
<el-col :span="12">
|
<!-- <el-col :span="12">
|
||||||
<el-text type="info">API访问凭据</el-text>
|
<el-text type="info">API访问凭据</el-text>
|
||||||
<div class="mt-4">
|
<div class="mt-4">
|
||||||
<span class="vertical-middle lighter">
|
<span class="vertical-middle lighter">
|
||||||
@ -53,7 +53,7 @@
|
|||||||
</el-button>
|
</el-button>
|
||||||
</span>
|
</span>
|
||||||
</div>
|
</div>
|
||||||
</el-col>
|
</el-col> -->
|
||||||
</el-row>
|
</el-row>
|
||||||
<div class="mt-16">
|
<div class="mt-16">
|
||||||
<el-button type="primary"> 演示 </el-button>
|
<el-button type="primary"> 演示 </el-button>
|
||||||
@ -89,7 +89,7 @@ function openDialog() {
|
|||||||
}
|
}
|
||||||
function getAccessToken() {
|
function getAccessToken() {
|
||||||
application.asyncGetAccessToken(id, loading).then((res) => {
|
application.asyncGetAccessToken(id, loading).then((res) => {
|
||||||
shareUrl.value = application.location + res.data
|
shareUrl.value = application.location + res?.data?.access_token
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user