Skip to content

Commit

Permalink
fix import not use
Browse files Browse the repository at this point in the history
  • Loading branch information
notbucai committed Nov 22, 2021
1 parent 8a5991c commit 92445d7
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions website/pages/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@
</template>

<script lang="tsx">
import { defineComponent, reactive, ref } from 'vue'
import { defineComponent, ref } from 'vue'
export default defineComponent({
components: {
Expand Down Expand Up @@ -141,8 +141,8 @@ export default defineComponent({
return {
onPicMousemove (e) {
const { offsetWidth,offsetHeight } = e.target
const { offsetX,offsetY } = e
const { offsetWidth, offsetHeight } = e.target
const { offsetX, offsetY } = e
const w2 = offsetWidth / 2
const h2 = offsetHeight / 2
const x = (offsetX - w2) / w2
Expand Down Expand Up @@ -215,6 +215,7 @@ export default defineComponent({
label: '时间',
prop: 'date',
width: '',
filters: [{ text: 'box', value: 'box' }, { text: 'joy', value: 'joy' }],
formatter (row) {
return (
<el-checkbox-group vModel={row.name}>
Expand Down Expand Up @@ -331,7 +332,7 @@ export default defineComponent({
margin: 36px auto;
img {
width: 100%;
transition: .1s;
transition: 0.1s;
}
}
}
Expand Down

0 comments on commit 92445d7

Please sign in to comment.