@dlzn-ui/vite-config 2.0.58 → 2.0.60

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/dist/index.mjs +5 -5
  2. package/package.json +2 -2
package/dist/index.mjs CHANGED
@@ -275,10 +275,10 @@ function toFolderAlias(routers) {
275
275
  const result = {};
276
276
  const walk = (items, level = 0) => {
277
277
  for (const item of items) {
278
- const title = item.meta.title;
279
- if (title !== "") {
280
- const component = item.component;
281
- if (!SKIP_COMPONENTS.has(component)) {
278
+ const component = item.component;
279
+ if (!SKIP_COMPONENTS.has(component)) {
280
+ const title = item.meta.title;
281
+ if (title !== "") {
282
282
  result[`src/views/${component.split("___")[0]}.vue`] = { description: title };
283
283
  const arr = component.split("/");
284
284
  arr.forEach((_, index) => {
@@ -404,7 +404,7 @@ const index = (_env, options) => {
404
404
  VITE_BASE_URL = "/",
405
405
  VITE_FORCE_PWD_CHANGE = true,
406
406
  VITE_PROXY_TARGET: viteProxyTarget,
407
- VITE_SHOW_LOGIN_LOGO = true,
407
+ VITE_SHOW_LOGIN_LOGO = false,
408
408
  VITE_USE_LOGIN_CAPTCHA = true,
409
409
  VITE_USER_PHONE_REQUIRED = true
410
410
  } = env;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@dlzn-ui/vite-config",
3
3
  "type": "module",
4
- "version": "2.0.58",
4
+ "version": "2.0.60",
5
5
  "license": "MIT",
6
6
  "publishConfig": {
7
7
  "access": "public"
@@ -36,7 +36,7 @@
36
36
  "vite-plugin-html": "^3.2.2",
37
37
  "vite-plugin-vue-tailwind-auto-reference": "^2.0.2",
38
38
  "vue-router": "^5.2.0",
39
- "@dlzn-ui/node-utils": "2.0.58"
39
+ "@dlzn-ui/node-utils": "2.0.60"
40
40
  },
41
41
  "devDependencies": {
42
42
  "rimraf": "^6.1.3",