mirror of
https://github.com/lana-k/sqliteviz.git
synced 2025-12-06 18:18:53 +08:00
#63 migrate to Vue 3
This commit is contained in:
@@ -46,6 +46,7 @@ export default {
|
||||
name: 'AddTableIcon',
|
||||
mixins: [tooltipMixin],
|
||||
props: ['tooltip'],
|
||||
emits: ['click'],
|
||||
methods: {
|
||||
onClick () {
|
||||
this.hideTooltip()
|
||||
|
||||
@@ -33,6 +33,7 @@ import tooltipMixin from '@/tooltipMixin'
|
||||
export default {
|
||||
name: 'changeDbIcon',
|
||||
mixins: [tooltipMixin],
|
||||
emits: ['click'],
|
||||
methods: {
|
||||
onClick () {
|
||||
this.hideTooltip()
|
||||
|
||||
@@ -30,7 +30,8 @@ export default {
|
||||
required: false,
|
||||
default: false
|
||||
}
|
||||
}
|
||||
},
|
||||
emits: ['click']
|
||||
}
|
||||
</script>
|
||||
|
||||
|
||||
@@ -30,6 +30,7 @@ export default {
|
||||
name: 'ExportIcon',
|
||||
mixins: [tooltipMixin],
|
||||
props: ['tooltip', 'tooltipPosition'],
|
||||
emits: ['click'],
|
||||
methods: {
|
||||
onClick () {
|
||||
this.hideTooltip()
|
||||
|
||||
@@ -45,6 +45,7 @@ import tooltipMixin from '@/tooltipMixin'
|
||||
export default {
|
||||
name: 'HintIcon',
|
||||
props: ['hint', 'maxWidth'],
|
||||
emits: ['click'],
|
||||
mixins: [tooltipMixin],
|
||||
methods: {
|
||||
onClick () {
|
||||
|
||||
Reference in New Issue
Block a user