docs: prefer shorter demo

This commit is contained in:
chenjiahan
2021-01-20 21:00:36 +08:00
parent 3787e82ec7
commit cb3219ab66
57 changed files with 95 additions and 315 deletions
+1 -3
View File
@@ -105,9 +105,7 @@ export default {
const reset = () => {
countDown.value.reset();
};
const onFinish = () => {
Toast('Finished');
};
const onFinish = () => Toast('Finished');
return {
start,
+1 -3
View File
@@ -119,9 +119,7 @@ export default {
const reset = () => {
countDown.value.reset();
};
const onFinish = () => {
Toast('倒计时结束');
};
const onFinish = () => Toast('倒计时结束');
return {
start,
+1 -3
View File
@@ -85,9 +85,7 @@ export default {
const reset = () => {
countDown.value.reset();
};
const onFinish = () => {
Toast(t('finished'));
};
const onFinish = () => Toast(t('finished'));
return {
t,