diff --git a/.eslintrc b/.eslintrc index 4c54be6..7467fd5 100644 --- a/.eslintrc +++ b/.eslintrc @@ -11,6 +11,10 @@ "jest": true, "es6": true }, + "globals": { + "defineProps": "readonly", + "defineEmits": "readonly" + }, "plugins": [ "vue", "@typescript-eslint" diff --git a/package.json b/package.json index 26c567b..6b1fcf6 100644 --- a/package.json +++ b/package.json @@ -23,9 +23,9 @@ "nprogress": "^0.2.0", "qrcode.vue": "^3.2.2", "tdesign-icons-vue-next": "^0.0.6", - "tdesign-vue-next": "0.7.0-alpha.0", + "tdesign-vue-next": "^0.8.0", "tvision-color": "^1.3.1", - "vue": "^3.1.5", + "vue": "^3.2.31", "vue-color-kit": "^1.0.5", "vue-router": "^4.0.11", "vue3-clipboard": "^1.0.0", @@ -83,4 +83,4 @@ "git add ." ] } -} \ No newline at end of file +} diff --git a/src/components/card/Card.vue b/src/components/card/Card.vue index a442d52..27ddec9 100644 --- a/src/components/card/Card.vue +++ b/src/components/card/Card.vue @@ -9,21 +9,15 @@ - {{ - product.isSetup ? '已启用' : '已停用' - }} + + {{ product.isSetup ? '已启用' : '已停用' }} + -

- {{ product.name }} -

-

- {{ product.description }} -

+

{{ product.name }}

+

{{ product.description }}

- - {{ typeMap[product.type - 1] }} - + {{ typeMap[product.type - 1] }} @@ -53,7 +47,7 @@
diff --git a/src/pages/login/components/Register.vue b/src/pages/login/components/Register.vue index e37f359..a28a008 100644 --- a/src/pages/login/components/Register.vue +++ b/src/pages/login/components/Register.vue @@ -71,7 +71,7 @@