Skip to content

Commit

Permalink
Merge pull request #50 from hLinx/feature_3.3.5_new
Browse files Browse the repository at this point in the history
feature: 全局变量支持批量编辑 #43
  • Loading branch information
jsonwan committed Jul 6, 2021
2 parents 2b8398e + 4248b9f commit 68c356b
Show file tree
Hide file tree
Showing 52 changed files with 2,350 additions and 1,667 deletions.
1 change: 1 addition & 0 deletions src/frontend/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
"dependencies": {
"@blueking/paas-login": "0.0.4",
"@blueking/user-selector": "^1.0.6",
"@icon-cool/bk-icon-job": "0.0.3",
"@vue/composition-api": "^1.0.0-beta.1",
"ace-builds": "^1.4.12",
"axios": "^0.21.1",
Expand Down
9 changes: 7 additions & 2 deletions src/frontend/src/App.vue
Original file line number Diff line number Diff line change
Expand Up @@ -235,8 +235,13 @@
* @desc 退出登录
*/
handleLogout () {
EventBus.$emit('logout');
LogoutService.logout();
this.$bkInfo({
title: '确认退出登录?',
confirmFn: () => {
EventBus.$emit('logout');
LogoutService.logout();
},
});
},
},
};
Expand Down
2 changes: 2 additions & 0 deletions src/frontend/src/common/fully-import.js
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ import JbRouterView from '@components/jb-router-view';
import JbForm from '@components/jb-form';
import JbFormItem from '@components/jb-form/item';
import JbInput from '@components/jb-input';
import JbTextarea from '@components/jb-textarea';
import JbPopoverConfirm from '@components/jb-popover-confirm';
import JbSideslider from '@components/jb-sideslider';
import JbDialog from '@components/jb-dialog';
Expand Down Expand Up @@ -82,6 +83,7 @@ Vue.component('JbRouterView', JbRouterView);
Vue.component('JbForm', JbForm);
Vue.component('JbFormItem', JbFormItem);
Vue.component('JbInput', JbInput);
Vue.component('JbTextarea', JbTextarea);
Vue.component('JbPopoverConfirm', JbPopoverConfirm);
Vue.component('JbSideslider', JbSideslider);
Vue.component('JbDialog', JbDialog);
Expand Down

0 comments on commit 68c356b

Please sign in to comment.