This commit is contained in:
pipipi-pikachu 2020-12-24 09:28:44 +08:00
parent 151fd1563c
commit fa1e7f13d3
5 changed files with 8 additions and 43 deletions

View File

@ -112,7 +112,7 @@ export const mutations: MutationTree<State> = {
state.snapshotLength = length state.snapshotLength = length
}, },
// keyBoard // keyboard
[MutationTypes.SET_CTRL_KEY_STATE](state, isActive: boolean) { [MutationTypes.SET_CTRL_KEY_STATE](state, isActive: boolean) {
state.ctrlKeyState = isActive state.ctrlKeyState = isActive

View File

@ -1,8 +1,6 @@
import mitt, { Emitter } from 'mitt' import mitt, { Emitter } from 'mitt'
export enum EMITTER_EVENTS { export enum EMITTER_EVENTS {}
}
const emitter: Emitter = mitt() const emitter: Emitter = mitt()

View File

@ -14,13 +14,12 @@
}" }"
> >
<div class="background" :style="{ ...backgroundStyle }"></div> <div class="background" :style="{ ...backgroundStyle }"></div>
<BaseElement
<template v-for="(element, index) in slide.elements" :key="element.elId"> v-for="(element, index) in slide.elements"
<BaseElement :key="element.elId"
:elementInfo="element" :elementInfo="element"
:elementIndex="index + 1" :elementIndex="index + 1"
/> />
</template>
</div> </div>
</div> </div>
</template> </template>

View File

@ -73,21 +73,5 @@ export default defineComponent({
background-color: rgba(27, 110, 232, 0.3); background-color: rgba(27, 110, 232, 0.3);
color: inherit; color: inherit;
} }
ul {
list-style-type: disc;
padding-inline-start: 30px;
li {
list-style-type: disc;
}
}
ol {
list-style-type: decimal;
padding-inline-start: 30px;
li {
list-style-type: decimal;
}
}
} }
</style> </style>

View File

@ -198,22 +198,6 @@ export default defineComponent({
background-color: rgba(27, 110, 232, 0.3); background-color: rgba(27, 110, 232, 0.3);
color: inherit; color: inherit;
} }
ul {
list-style-type: disc;
padding-inline-start: 30px;
li {
list-style-type: disc;
}
}
ol {
list-style-type: decimal;
padding-inline-start: 30px;
li {
list-style-type: decimal;
}
}
} }
.operate { .operate {