docs(Style): use composition api

This commit is contained in:
chenjiahan
2020-12-13 17:00:10 +08:00
parent 57c860afb8
commit 497f36a2d3
2 changed files with 42 additions and 34 deletions
+1 -1
View File
@@ -62,7 +62,7 @@ const i18n = {
};
export default {
data() {
setup() {
const t = useTranslate(i18n);
const show = ref(false);