diff --git a/__unconfig_vite.config.js b/__unconfig_vite.config.js deleted file mode 100644 index 090c0b2..0000000 --- a/__unconfig_vite.config.js +++ /dev/null @@ -1,21 +0,0 @@ - -let __unconfig_data; -let __unconfig_stub = function (data = {}) { __unconfig_data = data }; -__unconfig_stub.default = (data = {}) => { __unconfig_data = data }; -import { defineConfig } from 'vite' -import vue from '@vitejs/plugin-vue' - -// https://vite.dev/config/ -const __unconfig_default = defineConfig({ - plugins: [vue()], - define: { - 'import.meta.env.MODE': JSON.stringify(process.env.NODE_ENV || 'development') - }, - server: { - host: '0.0.0.0', // 允许从任何IP访问 - port: 5173, // 前端端口 - strictPort: true - } -}) - -if (typeof __unconfig_default === "function") __unconfig_default(...[{"command":"serve","mode":"development"}]);export default __unconfig_data; \ No newline at end of file diff --git a/src/components/TalentDetail.vue b/src/components/TalentDetail.vue index f6badfc..3381b3c 100644 --- a/src/components/TalentDetail.vue +++ b/src/components/TalentDetail.vue @@ -86,7 +86,7 @@ {{ teacher.basicInformation.name2 }}{{ teacher.basicInformation.name3 ? ' / ' + teacher.basicInformation.name3 : '' }}
- 所属院校: + 所属学院: {{ teacher.basicInformation.name4 }}
diff --git a/src/components/TalentDrawerDetail.vue b/src/components/TalentDrawerDetail.vue index db59bf8..8d771f4 100644 --- a/src/components/TalentDrawerDetail.vue +++ b/src/components/TalentDrawerDetail.vue @@ -40,7 +40,7 @@ {{ teacherData.basicInformation.name3 }}
- 所属院校: + 所属学院: {{ teacherData.basicInformation.name4 }}