Skip to content

Commit

Permalink
fix: 刷新访问链接增加确认提示
Browse files Browse the repository at this point in the history
  • Loading branch information
wangdan-fit2cloud committed Mar 29, 2024
1 parent 44e7d0f commit c6f28a8
Showing 1 changed file with 15 additions and 5 deletions.
20 changes: 15 additions & 5 deletions ui/src/views/applicaiton-overview/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -196,11 +196,21 @@ function getAppStatistics() {
}
function refreshAccessToken() {
const obj = {
access_token_reset: true
}
const str = '刷新成功'
updateAccessToken(obj, str)
MsgConfirm(
`是否重新生成公共访问链接?`,
`重新生成公共访问链接会影响嵌入第三方脚本变更,需要将新脚本重新嵌入第三方,请谨慎操作!`,
{
confirmButtonText: '确认'
}
)
.then(() => {
const obj = {
access_token_reset: true
}
const str = '刷新成功'
updateAccessToken(obj, str)
})
.catch(() => {})
}
function changeState(bool: Boolean) {
const obj = {
Expand Down

0 comments on commit c6f28a8

Please sign in to comment.