clean up
This commit is contained in:
parent
936fb136d2
commit
034dcaeb9d
@ -12,7 +12,6 @@
|
|||||||
import { defineComponent } from 'vue';
|
import { defineComponent } from 'vue';
|
||||||
import * as os from '@/os';
|
import * as os from '@/os';
|
||||||
import copyToClipboard from '@/scripts/copy-to-clipboard';
|
import copyToClipboard from '@/scripts/copy-to-clipboard';
|
||||||
import VanillaTilt from 'vanilla-tilt';
|
|
||||||
|
|
||||||
export default defineComponent({
|
export default defineComponent({
|
||||||
props: {
|
props: {
|
||||||
@ -22,17 +21,6 @@ export default defineComponent({
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
||||||
mounted() {
|
|
||||||
if (this.$store.animation) {
|
|
||||||
VanillaTilt.init(this.$el, {
|
|
||||||
reverse: true,
|
|
||||||
gyroscope: false,
|
|
||||||
scale: 1.1,
|
|
||||||
speed: 500,
|
|
||||||
});
|
|
||||||
}
|
|
||||||
},
|
|
||||||
|
|
||||||
methods: {
|
methods: {
|
||||||
menu(ev) {
|
menu(ev) {
|
||||||
os.popupMenu([{
|
os.popupMenu([{
|
||||||
|
Loading…
Reference in New Issue
Block a user