mirror of
https://github.com/tidys/cc-inspector-chrome
synced 2025-04-19 08:28:41 +00:00
23 lines
378 B
Vue
23 lines
378 B
Vue
|
<template lang="pug">
|
||
|
div
|
||
|
el-button(type="primary" @click="tab") New tab
|
||
|
</template>
|
||
|
<script>
|
||
|
export default {
|
||
|
data: () => ({
|
||
|
}),
|
||
|
computed: { },
|
||
|
created () { },
|
||
|
mounted () { },
|
||
|
methods: {
|
||
|
tab () {
|
||
|
chrome.tabs.create({ url: 'pages/app.html' })
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
</script>
|
||
|
<style lang="scss">
|
||
|
div {
|
||
|
color: blue
|
||
|
}
|
||
|
</style>
|