diff --git a/package.json b/package.json index 5d321cb387abdc094d3b7ccaa2f62aa36e565a66..4d0d755bedf87fc6e7144485461025b111668027 100644 --- a/package.json +++ b/package.json @@ -14,7 +14,8 @@ "clean:cache": "rimraf node_modules/.cache/ && rimraf node_modules/.vite", "clean:lib": "npx rimraf node_modules", "typecheck": "vuedx-typecheck .", - "lint:eslint": "eslint \"{src,mock}/**/*.{vue,ts,tsx}\" --fix", + "lint:eslint": "eslint \"{src,mock}/**/*.{vue,ts,tsx}\" ", + "lint:eslint:fix": "eslint \"{src,mock}/**/*.{vue,ts,tsx}\" --fix", "lint:prettier": "prettier --write --loglevel warn \"src/**/*.{js,json,tsx,css,less,scss,vue,html,md}\"", "lint:stylelint": "stylelint --fix \"**/*.{vue,less,postcss,css,scss}\" --cache --cache-location node_modules/.cache/stylelint/", "lint:ls-lint": "ls-lint", diff --git a/src/components/Application/index.ts b/src/components/Application/index.ts index 1dfffc12cea5942acd2c11c9a054fcbb5a05169e..98f79e261fd41d7dcc06cdc06c12936e069d1c22 100644 --- a/src/components/Application/index.ts +++ b/src/components/Application/index.ts @@ -1,7 +1,6 @@ import { createAsyncComponent } from '/@/utils/factory/createAsyncComponent'; import AppLogo from './src/AppLogo.vue'; import AppProvider from './src/AppProvider.vue'; -import { withInstall } from '../util'; export const AppLocalePicker = createAsyncComponent(() => import('./src/AppLocalePicker.vue')); export const AppSearch = createAsyncComponent(() => import('./src/search/AppSearch.vue'), { @@ -10,5 +9,3 @@ export const AppSearch = createAsyncComponent(() => import('./src/search/AppSear export { useAppProviderContext } from './src/useAppContext'; export { AppLogo, AppProvider }; - -withInstall(AppLogo, AppProvider); diff --git a/src/components/Application/src/AppLocalePicker.vue b/src/components/Application/src/AppLocalePicker.vue index 48204d8660476f863925e76e0695a55af83e5351..fa111c0ff837086a0063af72ce3e7bf62751f704 100644 --- a/src/components/Application/src/AppLocalePicker.vue +++ b/src/components/Application/src/AppLocalePicker.vue @@ -17,19 +17,18 @@ diff --git a/src/components/Application/src/search/AppSearch.vue b/src/components/Application/src/search/AppSearch.vue index 3d6faa731f68fef9884e53317285f48d72d0c55c..ffe030f15fbc2b8337ae8b9eb00e1f6663ce665c 100644 --- a/src/components/Application/src/search/AppSearch.vue +++ b/src/components/Application/src/search/AppSearch.vue @@ -1,23 +1,11 @@ - -