chore: demo ts (#8160)

* chore: demo ts

* chore: fix
This commit is contained in:
neverland
2021-02-14 19:50:45 +08:00
committed by GitHub
parent 8cbf153073
commit a8060bb599
20 changed files with 96 additions and 79 deletions
+2 -2
View File
@@ -36,7 +36,7 @@
</demo-block>
</template>
<script>
<script lang="ts">
import { reactive, toRefs } from 'vue';
import { useTranslate } from '@demo/use-translate';
import Dialog from '../../dialog';
@@ -74,7 +74,7 @@ export default {
checked6: false,
});
const onUpdateValue = (checked) => {
const onUpdateValue = (checked: boolean) => {
Dialog.confirm({
title: t('title'),
message: t('message'),