diff --git a/.prettierrc b/.prettierrc
new file mode 100644
index 00000000..03175e1c
--- /dev/null
+++ b/.prettierrc
@@ -0,0 +1,9 @@
+{
+ "tabWidth": 2,
+ "useTabs": false,
+ "endOfLine": "lf",
+ "arrowParens": "always",
+ "singleQuote": false,
+ "trailingComma": "es5",
+ "semi": true
+}
diff --git a/docs/.vuepress/components/Adapter.vue b/docs/.vuepress/components/Adapter.vue
index c6a3f089..0583cdf9 100644
--- a/docs/.vuepress/components/Adapter.vue
+++ b/docs/.vuepress/components/Adapter.vue
@@ -82,8 +82,8 @@
color="blue darken-1"
text
@click="
- dialog = false
- publishAdapter()
+ dialog = false;
+ publishAdapter();
"
>
发布
@@ -93,14 +93,16 @@
-
-
+
+
+
+
diff --git a/docs/.vuepress/components/Bot.vue b/docs/.vuepress/components/Bot.vue
index 7f85fbb4..c2c943af 100644
--- a/docs/.vuepress/components/Bot.vue
+++ b/docs/.vuepress/components/Bot.vue
@@ -68,8 +68,8 @@
color="blue darken-1"
text
@click="
- dialog = false
- publishBot()
+ dialog = false;
+ publishBot();
"
>
发布
@@ -79,14 +79,16 @@
-
-
-
+
+
+
+
+
diff --git a/docs/.vuepress/components/Messenger.vue b/docs/.vuepress/components/Messenger.vue
index 7ff310d3..9e694df2 100644
--- a/docs/.vuepress/components/Messenger.vue
+++ b/docs/.vuepress/components/Messenger.vue
@@ -128,11 +128,11 @@