mirror of
https://github.com/apache/skywalking-booster-ui.git
synced 2025-05-14 17:05:10 +00:00
removed unwanted logs
This commit is contained in:
parent
b44eaeedc8
commit
fe4e27fcfd
@ -29,12 +29,7 @@ limitations under the License. -->
|
||||
</span>
|
||||
{{ t(item.value) }}
|
||||
</div>
|
||||
<div
|
||||
v-else
|
||||
:class="item.label"
|
||||
:key="`col${index}`"
|
||||
@click="logColumn(item, index)"
|
||||
>
|
||||
<div v-else :class="item.label" :key="`col${index}`">
|
||||
{{ t(item.value) }}
|
||||
</div>
|
||||
</template>
|
||||
@ -76,7 +71,7 @@ import { useI18n } from "vue-i18n";
|
||||
import LogBrowser from "./LogBrowser.vue";
|
||||
import LogService from "./LogService.vue";
|
||||
import LogDetail from "./LogDetail.vue";
|
||||
import { logStore } from '@/store/modules/log'
|
||||
import { logStore } from "@/store/modules/log";
|
||||
|
||||
/*global defineProps, Nullable */
|
||||
const props = defineProps({
|
||||
@ -84,7 +79,7 @@ const props = defineProps({
|
||||
tableData: { type: Array, default: () => [] },
|
||||
noLink: { type: Boolean, default: true },
|
||||
});
|
||||
const useLogStore = logStore()
|
||||
const useLogStore = logStore();
|
||||
const { t } = useI18n();
|
||||
const currentLog = ref<any>({});
|
||||
const showDetail = ref<boolean>(false);
|
||||
@ -98,18 +93,10 @@ const columns = ref<any[]>(
|
||||
);
|
||||
// const portalVisibleDefaultCols:string[] = ['Service', 'Instance','Content']
|
||||
|
||||
const visibleColumns = computed(() =>
|
||||
columns.value.filter((column) => column.isVisible)
|
||||
);
|
||||
|
||||
function setCurrentLog(log: any) {
|
||||
showDetail.value = true;
|
||||
currentLog.value = log;
|
||||
}
|
||||
function logColumn(item: any, index: number) {
|
||||
console.log(index, item, visibleColumns.value[index]);
|
||||
columns.value[index].isVisible = false;
|
||||
}
|
||||
</script>
|
||||
<style lang="scss" scoped>
|
||||
.log {
|
||||
|
Loading…
Reference in New Issue
Block a user