fix: import/order (#579)

* fix: import/order

* fix: vue/no-setup-props-destructure
This commit is contained in:
liweijie0812 2023-08-02 13:49:56 +08:00 committed by GitHub
parent e1b0b9540a
commit 6a4ffa9f4b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 4 additions and 3 deletions

View File

@ -53,7 +53,7 @@
"eslint": "^8.45.0",
"eslint-config-airbnb-base": "^15.0.0",
"eslint-config-prettier": "^8.9.0",
"eslint-plugin-import": "2.27.5",
"eslint-plugin-import": "^2.28.0",
"eslint-plugin-prettier": "^4.2.1",
"eslint-plugin-simple-import-sort": "^10.0.0",
"eslint-plugin-vue": "^9.15.1",

View File

@ -67,7 +67,7 @@ const props = defineProps({
});
const formVisible = ref(false);
const formData = ref(props.data);
const formData = ref();
const textareaValue = ref('');
const onSubmit = ({ validateResult, firstError }: SubmitContext<Data>) => {

View File

@ -1,6 +1,7 @@
import path from 'node:path';
import vue from '@vitejs/plugin-vue';
import vueJsx from '@vitejs/plugin-vue-jsx';
import path from 'path';
import { ConfigEnv, loadEnv, UserConfig } from 'vite';
import { viteMockServe } from 'vite-plugin-mock';
import svgLoader from 'vite-svg-loader';