mirror of
https://github.com/apache/skywalking-booster-ui.git
synced 2025-07-18 18:44:09 +00:00
fix console errors
This commit is contained in:
parent
d93726e70a
commit
a78fccdc91
@ -29,9 +29,9 @@ limitations under the License. -->
|
||||
>
|
||||
<el-option
|
||||
v-for="item in options"
|
||||
:key="item.value"
|
||||
:label="item.label"
|
||||
:value="item.value"
|
||||
:key="item.value || ''"
|
||||
:label="item.label || ''"
|
||||
:value="item.value || ''"
|
||||
>
|
||||
</el-option>
|
||||
</el-select>
|
||||
|
@ -154,7 +154,10 @@ export function useSourceProcessor(
|
||||
const c = (config.metricConfig && config.metricConfig[index]) || {};
|
||||
|
||||
if (type === MetricQueryTypes.ReadMetricsValues) {
|
||||
source[m] = calculateExp(resp.data[keys[index]].values.values, c);
|
||||
source[m] =
|
||||
(resp.data[keys[index]] &&
|
||||
calculateExp(resp.data[keys[index]].values.values, c)) ||
|
||||
[];
|
||||
}
|
||||
if (type === MetricQueryTypes.ReadLabeledMetricsValues) {
|
||||
const resVal = Object.values(resp.data)[0] || [];
|
||||
|
@ -216,7 +216,6 @@ export default defineComponent({
|
||||
dashboardStore.setCurrentTabItems(
|
||||
dashboardStore.layout[l].children[activeTabIndex.value].children
|
||||
);
|
||||
console.log(dashboardStore.currentTabItems);
|
||||
}
|
||||
function copyLink() {
|
||||
let path = "";
|
||||
|
Loading…
Reference in New Issue
Block a user