Browse Source

fix: more module resolution issues

dev
hechang27-sprt 6 months ago
parent
commit
cdaa8be90d
  1. 5
      packages/base/data/modify-form.vue
  2. 40
      tsconfig.json

5
packages/base/data/modify-form.vue

@ -70,8 +70,7 @@ @@ -70,8 +70,7 @@
import { onMounted, ref, watch } from "vue";
import { FormInstance } from "element-plus";
import { useI18n } from "vue3-i18n";
import { NoobSelect, NoobInput, NoobDate, NoobButton, TzDateTime } from "noob-mengyxu";
import { useSysDict } from "@/composables/useSysDict";
import { NoobSelect, NoobInput, NoobDate, NoobButton, TzDateTime, useSysDict } from "noob-mengyxu";
const { t } = useI18n();
const { sysDict, updateDict } = useSysDict();
@ -141,7 +140,7 @@ watch( @@ -141,7 +140,7 @@ watch(
() => prop.param,
() => {
modifyForm.value?.clearValidate();
},
}
);
defineExpose({ clearValidate });

40
tsconfig.json

@ -4,7 +4,7 @@ @@ -4,7 +4,7 @@
"module": "esnext",
"strict": true,
"jsx": "preserve",
"moduleResolution": "node",
"moduleResolution": "bundler",
"experimentalDecorators": true,
"skipLibCheck": true,
"esModuleInterop": true,
@ -23,6 +23,39 @@ @@ -23,6 +23,39 @@
],
"noob-mengyxu": [
"./index.ts"
],
"noob-mengyxu/components": [
"./packages/base/index.ts"
],
"noob-mengyxu/tools": [
"./packages/tool/index.ts"
],
"noob-mengyxu/manage": [
"./packages/manage/index.ts"
],
"noob-mengyxu/composables": [
"./plugs/composables/index.ts"
],
"noob-mengyxu/api": [
"./plugs/api/index.ts"
],
"noob-mengyxu/http": [
"./plugs/http/index.ts"
],
"noob-mengyxu/i18n": [
"./plugs/i18n/index.ts"
],
"noob-mengyxu/config": [
"./plugs/config/index.ts"
],
"noob-mengyxu/element": [
"./plugs/element/index.ts"
],
"noob-mengyxu/store": [
"./plugs/store/index.ts"
],
"noob-mengyxu/utils": [
"./plugs/util/index.ts"
]
},
"lib": [
@ -38,7 +71,10 @@ @@ -38,7 +71,10 @@
"examples/**/*.vue",
"packages/**/*.ts",
"packages/**/*.tsx",
"packages/**/*.vue"
"packages/**/*.vue",
"plugs/**/*.ts",
"plugs/**/*.tsx",
"plugs/**/*.vue"
],
"exclude": [
"node_modules"

Loading…
Cancel
Save