@blueking/monitor-trace-log 2.0.12 → 2.0.13

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/main.js +0 -7
  2. package/package.json +1 -1
package/main.js CHANGED
@@ -70423,11 +70423,8 @@ class RetrieveHelper extends base {
70423
70423
  */
70424
70424
  setIndexsetId(idList, type) {
70425
70425
  let fireEvent = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : true;
70426
- console.log('window.__IS_MONITOR_COMPONENT__ = ', window.__IS_MONITOR_COMPONENT__);
70427
- console.log('setIndexsetId !!!', idList, type, fireEvent);
70428
70426
  // 监控下的关联日志需要再浏览器本地记住最近一次使用的索引集
70429
70427
  if (window.__IS_MONITOR_COMPONENT__) {
70430
- console.log('设置到本地');
70431
70428
  localStorage.setItem('MONITOR_LOG_RECENT_INDEX_SET_ID', JSON.stringify(idList));
70432
70429
  }
70433
70430
  this.indexSetIdList = idList;
@@ -232411,18 +232408,14 @@ var sub_bar_component = normalizeComponent(
232411
232408
  let defaultId = '';
232412
232409
  if (memoryIdStr) {
232413
232410
  const memoryId = JSON.parse(memoryIdStr)[0];
232414
- console.log('init defaultId = ', memoryId);
232415
232411
  const defaultValidItem = resp.find(item => item.index_set_id === memoryId);
232416
- console.log('defaultValidItem = ', defaultValidItem);
232417
232412
  if (defaultValidItem) {
232418
232413
  defaultId = memoryId;
232419
232414
  }
232420
232415
  }
232421
232416
  if (!defaultId) {
232422
232417
  const dataValidItem = resp.find(item => item.tags.every(tag => tag.tag_id !== 4));
232423
- console.log('dataValidItem = ', dataValidItem);
232424
232418
  defaultId = `${dataValidItem.index_set_id}`;
232425
- console.log('默认id = ', defaultId);
232426
232419
  }
232427
232420
  store.commit('updateIndexItem', {
232428
232421
  ids: [defaultId],
package/package.json CHANGED
@@ -1 +1 @@
1
- {"name":"@blueking/monitor-trace-log","version":"2.0.12","description":"","main":"main.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"author":"","license":"MIT"}
1
+ {"name":"@blueking/monitor-trace-log","version":"2.0.13","description":"","main":"main.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"author":"","license":"MIT"}