Files
cmanager/src/views/util/logs.vue
2024-02-02 15:04:47 +08:00

20 lines
419 B
Vue
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<template>
<basic-container>
<h3>请打开浏览器控制台然后点击下面的按钮</h3>
<el-button type="danger"
size="small"
@click="handleNewError">触发一个错误
</el-button>
</basic-container>
</template>
<script>
export default {
methods: {
handleNewError() {
window.console.log(a); // eslint-disable-line
}
}
};
</script>