mirror of
https://github.com/Tencent/tdesign-vue-next-starter.git
synced 2024-12-22 11:16:35 +08:00
fix: import/order (#579)
* fix: import/order * fix: vue/no-setup-props-destructure
This commit is contained in:
parent
e1b0b9540a
commit
6a4ffa9f4b
|
@ -53,7 +53,7 @@
|
||||||
"eslint": "^8.45.0",
|
"eslint": "^8.45.0",
|
||||||
"eslint-config-airbnb-base": "^15.0.0",
|
"eslint-config-airbnb-base": "^15.0.0",
|
||||||
"eslint-config-prettier": "^8.9.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-prettier": "^4.2.1",
|
||||||
"eslint-plugin-simple-import-sort": "^10.0.0",
|
"eslint-plugin-simple-import-sort": "^10.0.0",
|
||||||
"eslint-plugin-vue": "^9.15.1",
|
"eslint-plugin-vue": "^9.15.1",
|
||||||
|
|
|
@ -67,7 +67,7 @@ const props = defineProps({
|
||||||
});
|
});
|
||||||
|
|
||||||
const formVisible = ref(false);
|
const formVisible = ref(false);
|
||||||
const formData = ref(props.data);
|
const formData = ref();
|
||||||
const textareaValue = ref('');
|
const textareaValue = ref('');
|
||||||
|
|
||||||
const onSubmit = ({ validateResult, firstError }: SubmitContext<Data>) => {
|
const onSubmit = ({ validateResult, firstError }: SubmitContext<Data>) => {
|
||||||
|
|
|
@ -1,6 +1,7 @@
|
||||||
|
import path from 'node:path';
|
||||||
|
|
||||||
import vue from '@vitejs/plugin-vue';
|
import vue from '@vitejs/plugin-vue';
|
||||||
import vueJsx from '@vitejs/plugin-vue-jsx';
|
import vueJsx from '@vitejs/plugin-vue-jsx';
|
||||||
import path from 'path';
|
|
||||||
import { ConfigEnv, loadEnv, UserConfig } from 'vite';
|
import { ConfigEnv, loadEnv, UserConfig } from 'vite';
|
||||||
import { viteMockServe } from 'vite-plugin-mock';
|
import { viteMockServe } from 'vite-plugin-mock';
|
||||||
import svgLoader from 'vite-svg-loader';
|
import svgLoader from 'vite-svg-loader';
|
||||||
|
|
Loading…
Reference in New Issue
Block a user