Skip to content

Commit

Permalink
refactor: tam功能下线
Browse files Browse the repository at this point in the history
# Reviewed, transaction id: 11374
  • Loading branch information
luofann committed Jul 5, 2024
1 parent 6359f15 commit e60fbba
Show file tree
Hide file tree
Showing 4 changed files with 1 addition and 16 deletions.
3 changes: 1 addition & 2 deletions frontend/pc/.eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -56,8 +56,7 @@ module.exports = {
LEGACY_APP_MIGRATION_ENABLED: true,
AJAX_URL_PIRFIX: true,
GRAFANA_IFRAME_URL: true,
gettext: true,
Aegis: true
gettext: true
},
// add your custom rules here
rules: {
Expand Down
1 change: 0 additions & 1 deletion frontend/pc/index-dev.html
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@
window.is_vip = true;
window.use_log = true;
window.log_name = '流程服务';
window.TAM_PROJECT_ID = ""
window.DEFAULT_PROJECT = '0'
</script>
<script>
Expand Down
4 changes: 0 additions & 4 deletions frontend/pc/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@
window.log_name = '{{LOG_NAME}}';
window.use_log = {{USE_LOG}};
window.iam_code = "{{ BK_IAM_APP_CODE }}";
window.TAM_PROJECT_ID = "{{TAM_PROJECT_ID}}";
window.DEFAULT_PROJECT = "{{DEFAULT_PROJECT}}";
window.BK_PAAS_ESB_HOST = "{{BK_PAAS_ESB_HOST}}";
window.NOTICE_CENTER_SWITCH = "{{NOTICE_CENTER_SWITCH}}";
Expand Down Expand Up @@ -65,9 +64,6 @@
}
}
</script>
{% if TAM_PROJECT_ID != '' %}
<script src="https://cdn-go.cn/aegis/aegis-sdk/latest/aegis.min.js?_bid=3977"></script>
{% endif %}
</head>
<body>
<div id="app"></div>
Expand Down
9 changes: 0 additions & 9 deletions frontend/pc/src/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -151,15 +151,6 @@ Vue.use(bkMagic, {

locale.i18n((key, value) => i18n.t(key, value));

if (window.TAM_PROJECT_ID) {
/* eslint-disable-next-line */
new Aegis({
id: window.TAM_PROJECT_ID,
uin: window.USERNAME,
reportApiSpeed: true,
reportAssetSpeed: true,
});
}
store.dispatch('getPlatformPreData').then(()=> {
const app = new Vue({
el: "#app",
Expand Down

0 comments on commit e60fbba

Please sign in to comment.