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

View File

@@ -35,14 +35,8 @@ const i18n = {
export default {
setup() {
const t = useTranslate(i18n);
const onClickLeft = () => {
Toast(t('back'));
};
const onClickRight = () => {
Toast(t('button'));
};
const onClickLeft = () => Toast(t('back'));
const onClickRight = () => Toast(t('button'));
return {
t,