diff --git a/front/src/views/authorizer/authorizerList.vue b/front/src/views/authorizer/authorizerList.vue index 8ee6b74..d2cb3f5 100644 --- a/front/src/views/authorizer/authorizerList.vue +++ b/front/src/views/authorizer/authorizerList.vue @@ -63,15 +63,26 @@ @@ -206,7 +217,7 @@ const columns = [ { title: '操作', dataIndex: 'action', - width: 400, + width: 250, fixed: 'right', scopedSlots: {customRender: 'action'} } @@ -290,6 +301,17 @@ export default { }) }, + getTokenLink(appid) { + const url = window.location.origin + '/wechat/getToken?platform_appid=' + this.currentPlatform['app_id'] + '&appid=' + appid + navigator.clipboard.writeText(url) + .then(() => { + Message.success('复制成功') + }) + .catch((error) => { + Message.error('复制失败' + error) + }); + }, + getRefreshToken(appid) { let params = { platform_id: this.currentPlatform.id,