Przeglądaj źródła

📦 build(mini-enterprise-auth-ui): 更新构建配置并移除未使用的CSS导入

- 更新package.json中的构建输出路径,将main指向dist目录并添加source字段
- 为hooks和Login组件添加独立的导出路径,支持CSS文件导出
- 添加微信小程序平台插件依赖
- 在入口文件中注释掉WechatLogin组件的导出
- 移除Login和Profile组件中未使用的CSS文件导入
- 将WechatLogin组件代码注释掉,暂时禁用该功能

📦 build(mini-shared-ui-components): 更新构建配置并清理RPC工具

- 更新package.json中的构建输出路径,将主要组件指向dist目录
- 移除未使用的RPC polyfill工具(response-polyfill和headers-polyfill)
- 添加微信小程序平台插件依赖
- 在tsconfig.json中移除strict标志

📦 build(yongren-dashboard-ui, yongren-talent-management-ui): 移除未使用的CSS导入

- 注释掉Dashboard、TalentDetail和TalentManagement组件中未使用的CSS文件导入
yourname 1 miesiąc temu
rodzic
commit
d00a95317b

+ 14 - 4
mini-ui-packages/mini-enterprise-auth-ui/package.json

@@ -3,7 +3,8 @@
   "version": "1.0.0",
   "type": "module",
   "description": "企业认证UI包 - 提供企业用户认证相关的React hooks和上下文",
-  "main": "src/index.ts",
+  "main": "dist/index.js",
+  "source": "src/index.ts",
   "types": "src/index.ts",
   "exports": {
     ".": {
@@ -12,9 +13,9 @@
       "require": "./src/index.ts"
     },
     "./hooks": {
-      "types": "./src/hooks/index.ts",
-      "import": "./src/hooks/index.ts",
-      "require": "./src/hooks/index.ts"
+      "types": "./dist/src/hooks/index.d.ts",
+      "import": "./dist/src/hooks/index.js",
+      "require": "./dist/src/hooks/index.js"
     },
     "./api": {
       "types": "./src/api/index.ts",
@@ -25,6 +26,14 @@
       "types": "./src/types/minio.ts",
       "import": "./src/types/minio.ts",
       "require": "./src/types/minio.ts"
+    },
+    "./pages/login/Login": {
+      "types": "./dist/src/pages/login/Login.d.ts",
+      "import": "./dist/src/pages/login/Login.js",
+      "require": "./dist/src/pages/login/Login.js"
+    },
+    "./pages/login/Login.css": {
+      "import": "./src/pages/login/Login.css"
     }
   },
   "scripts": {
@@ -42,6 +51,7 @@
     "@tarojs/components": "4.1.4",
     "@tarojs/react": "4.1.4",
     "@tarojs/taro": "4.1.4",
+    "@tarojs/plugin-platform-weapp": "4.1.4",
     "@tanstack/react-query": "^5.90.12",
     "@hookform/resolvers": "^3.10.0",
     "hono": "^4.7.3",

+ 1 - 1
mini-ui-packages/mini-enterprise-auth-ui/src/index.ts

@@ -2,7 +2,7 @@ export * from './hooks'
 export * from './api'
 export { default as Login } from './pages/login/Login'
 export { default as LoginConfig } from './pages/login/Login.config'
-export { default as WechatLogin } from './pages/login/WechatLogin'
+// export { default as WechatLogin } from './pages/login/WechatLogin'
 export { default as WechatLoginConfig } from './pages/login/WechatLogin.config'
 export { default as Profile } from './pages/profile/Profile'
 export { default as ProfileConfig } from './pages/profile/Profile.config'

+ 1 - 2
mini-ui-packages/mini-enterprise-auth-ui/src/pages/login/Login.tsx

@@ -9,7 +9,6 @@ import { Form, FormField, FormItem, FormControl, FormMessage } from '@d8d/mini-s
 import { z } from 'zod'
 import { zodResolver } from '@hookform/resolvers/zod'
 import { useForm } from 'react-hook-form'
-import './Login.css'
 
 const loginSchema = z.object({
   phone: z
@@ -99,7 +98,7 @@ export default function Login() {
       {/* 状态栏由小程序宿主提供,无需实现 */}
       <View className="h-[calc(100%-44px)] flex flex-col justify-center p-8">
         {/* Logo区域 - 对照原型第232-235行 */}
-        <View className="text-center mb-10">
+        <View className="text-center mb-10 flex flex-col">
           <Text className="text-2xl font-bold text-gray-800 mb-2">残疾人就业平台</Text>
           <Text className="text-gray-600">为人力资源公司提供专业服务</Text>
         </View>

+ 240 - 240
mini-ui-packages/mini-enterprise-auth-ui/src/pages/login/WechatLogin.tsx

@@ -1,240 +1,240 @@
-import { View, Text } from '@tarojs/components'
-import { useState, useEffect } from 'react'
-import Taro from '@tarojs/taro'
-import { cn } from '@d8d/mini-shared-ui-components/utils/cn'
-import Navbar from '@d8d/mini-shared-ui-components/navbar'
-import { isWeapp } from '@d8d/mini-shared-ui-components/utils/platform'
-import { Button } from '@d8d/mini-shared-ui-components/button'
-import { enterpriseAuthClient } from '../../api'
-
-export default function WechatLogin() {
-  const [loading, setLoading] = useState(false)
-  const [isWechatEnv, setIsWechatEnv] = useState(true)
-
-  // 设置导航栏标题并检查平台
-  useEffect(() => {
-    Taro.setNavigationBarTitle({
-      title: '微信登录'
-    })
-
-    // 检查是否为微信小程序环境
-    const wechatEnv = isWeapp()
-    setIsWechatEnv(wechatEnv)
-
-    // 如果不是微信小程序,显示提示并延迟跳转
-    if (!wechatEnv) {
-      Taro.showModal({
-        title: '提示',
-        content: '微信登录功能仅支持在微信小程序中使用',
-        showCancel: false,
-        confirmText: '返回',
-        success: () => {
-          setTimeout(() => {
-            Taro.navigateBack()
-          }, 500)
-        }
-      })
-    }
-  }, [])
-
-  const handleWechatLogin = async () => {
-    setLoading(true)
-
-    try {
-      Taro.showLoading({
-        title: '登录中...',
-        mask: true
-      })
-
-      // 1. 获取用户信息授权
-      const userProfile = await Taro.getUserProfile({
-        desc: '用于完善用户资料'
-      }).catch(err => {
-        if (err.errMsg.includes('deny') || err.errMsg.includes('cancel')) {
-          throw new Error('用户拒绝授权')
-        }
-        throw err
-      })
-
-      // 2. 获取登录code
-      const loginRes = await Taro.login()
-
-      if (!loginRes.code) {
-        throw new Error('获取登录凭证失败')
-      }
-
-      // 3. 使用RPC client调用后端小程序登录API
-      const response = await enterpriseAuthClient['mini-login'].$post({
-        json: {
-          code: loginRes.code,
-          userInfo: userProfile.userInfo
-        }
-      })
-
-      Taro.hideLoading()
-
-      if (response.status === 200) {
-        const { token, user, isNewUser } = await response.json()
-
-        // 4. 保存token和用户信息
-        Taro.setStorageSync('enterpriseUserInfo', user)
-        Taro.setStorageSync('enterprise_token', token) // 企业用户token存储
-
-        Taro.showToast({
-          title: isNewUser ? '注册成功' : '登录成功',
-          icon: 'success',
-          duration: 1500
-        })
-
-        // 跳转到首页
-        setTimeout(() => {
-          Taro.switchTab({ url: '/pages/yongren/dashboard/index' })
-        }, 1500)
-      } else {
-        const errorData = await response.json()
-        throw new Error(errorData.message || '登录失败')
-      }
-    } catch (error: any) {
-      Taro.hideLoading()
-
-      const errorMessage = error.message || '登录失败'
-
-      if (errorMessage.includes('用户拒绝授权')) {
-        Taro.showModal({
-          title: '提示',
-          content: '需要授权才能使用小程序的全部功能',
-          showCancel: false,
-          confirmText: '知道了'
-        })
-      } else if (errorMessage.includes('网络') || errorMessage.includes('Network')) {
-        Taro.showModal({
-          title: '网络错误',
-          content: '请检查网络连接后重试',
-          showCancel: false,
-          confirmText: '确定'
-        })
-      } else {
-        Taro.showToast({
-          title: errorMessage,
-          icon: 'none',
-          duration: 3000
-        })
-      }
-    } finally {
-      setLoading(false)
-    }
-  }
-
-  const goToAccountLogin = () => {
-    Taro.navigateBack()
-  }
-
-  return (
-    <View className="min-h-screen bg-gradient-to-br from-green-50 via-white to-blue-50">
-      <Navbar
-        title="微信登录"
-        backgroundColor="bg-transparent"
-        textColor="text-gray-900"
-        border={false}
-      />
-
-      {!isWechatEnv ? (
-        <View className="flex-1 flex items-center justify-center px-6">
-          <View className="flex flex-col items-center">
-            <View className="i-heroicons-exclamation-triangle-20-solid w-16 h-16 text-orange-500 mx-auto mb-4" />
-            <Text className="text-lg font-semibold text-gray-900 mb-2">当前环境不支持</Text>
-            <Text className="text-sm text-gray-600 mb-6">
-              微信登录功能仅支持在微信小程序中使用
-            </Text>
-            <Button
-              className="w-full max-w-xs"
-              size="lg"
-              variant="default"
-              onClick={goToAccountLogin}
-            >
-              <View className="i-heroicons-arrow-left-20-solid w-4 h-4 mr-2" />
-              返回账号登录
-            </Button>
-          </View>
-        </View>
-      ) : (
-        <View className="flex-1 px-6 py-12">
-        {/* Logo区域 */}
-        <View className="flex flex-col items-center mb-10">
-          <View className="w-20 h-20 mb-4 rounded-full bg-green-100 flex items-center justify-center">
-            <View className="i-heroicons-chat-bubble-left-right-20-solid w-12 h-12 text-green-500" />
-          </View>
-          <Text className="text-2xl font-bold text-gray-900 mb-2">微信一键登录</Text>
-          <Text className="text-gray-600 text-sm">便捷登录,无需输入账号密码</Text>
-        </View>
-
-        {/* 功能介绍 */}
-        <View className="bg-white rounded-2xl shadow-sm p-6 mb-8">
-          <Text className="text-lg font-semibold text-gray-900 mb-4">登录后您将享受</Text>
-
-          <View className="space-y-3">
-            <View className="flex items-center">
-              <View className="w-2 h-2 bg-green-500 rounded-full mr-3" />
-              <Text className="text-sm text-gray-700">数据云端同步</Text>
-            </View>
-            <View className="flex items-center">
-              <View className="w-2 h-2 bg-green-500 rounded-full mr-3" />
-              <Text className="text-sm text-gray-700">个性化推荐</Text>
-            </View>
-            <View className="flex items-center">
-              <View className="w-2 h-2 bg-green-500 rounded-full mr-3" />
-              <Text className="text-sm text-gray-700">多端数据共享</Text>
-            </View>
-            <View className="flex items-center">
-              <View className="w-2 h-2 bg-green-500 rounded-full mr-3" />
-              <Text className="text-sm text-gray-700">专属会员权益</Text>
-            </View>
-          </View>
-        </View>
-
-        {/* 微信登录按钮 */}
-        <View className="space-y-4">
-          <Button
-            className={cn(
-              "w-full",
-              "bg-green-500 text-white hover:bg-green-600",
-              "border-none"
-            )}
-            size="lg"
-            variant="default"
-            onClick={handleWechatLogin}
-            disabled={loading || !isWechatEnv}
-            loading={loading}
-          >
-            <View className="i-heroicons-chat-bubble-left-right-20-solid w-5 h-5 mr-2" />
-            {loading ? '登录中...' : '微信一键登录'}
-          </Button>
-
-          <Button
-            className="w-full"
-            size="lg"
-            variant="outline"
-            onClick={goToAccountLogin}
-          >
-            <View className="i-heroicons-arrow-left-20-solid w-4 h-4 mr-2" />
-            使用账号密码登录
-          </Button>
-        </View>
-
-        {/* 隐私声明 */}
-        <View className="mt-8 text-center">
-          <Text className="text-xs text-gray-500 leading-relaxed">
-            点击"微信一键登录"即表示您同意
-            <Text className="text-blue-500">《用户协议》</Text>
-            和
-            <Text className="text-blue-500">《隐私政策》</Text>
-          </Text>
-          <Text className="text-xs text-gray-400 mt-2">
-            我们将严格保护您的个人信息安全
-          </Text>
-        </View>
-      </View>
-      )}
-    </View>
-  )
-}
+// import { View, Text } from '@tarojs/components'
+// import { useState, useEffect } from 'react'
+// import Taro from '@tarojs/taro'
+// import { cn } from '@d8d/mini-shared-ui-components/utils/cn'
+// import Navbar from '@d8d/mini-shared-ui-components/navbar'
+// import { isWeapp } from '@d8d/mini-shared-ui-components/utils/platform'
+// import { Button } from '@d8d/mini-shared-ui-components/button'
+// import { enterpriseAuthClient } from '../../api'
+
+// export default function WechatLogin() {
+//   const [loading, setLoading] = useState(false)
+//   const [isWechatEnv, setIsWechatEnv] = useState(true)
+
+//   // 设置导航栏标题并检查平台
+//   useEffect(() => {
+//     Taro.setNavigationBarTitle({
+//       title: '微信登录'
+//     })
+
+//     // 检查是否为微信小程序环境
+//     const wechatEnv = isWeapp()
+//     setIsWechatEnv(wechatEnv)
+
+//     // 如果不是微信小程序,显示提示并延迟跳转
+//     if (!wechatEnv) {
+//       Taro.showModal({
+//         title: '提示',
+//         content: '微信登录功能仅支持在微信小程序中使用',
+//         showCancel: false,
+//         confirmText: '返回',
+//         success: () => {
+//           setTimeout(() => {
+//             Taro.navigateBack()
+//           }, 500)
+//         }
+//       })
+//     }
+//   }, [])
+
+//   const handleWechatLogin = async () => {
+//     setLoading(true)
+
+//     try {
+//       Taro.showLoading({
+//         title: '登录中...',
+//         mask: true
+//       })
+
+//       // 1. 获取用户信息授权
+//       const userProfile = await Taro.getUserProfile({
+//         desc: '用于完善用户资料'
+//       }).catch(err => {
+//         if (err.errMsg.includes('deny') || err.errMsg.includes('cancel')) {
+//           throw new Error('用户拒绝授权')
+//         }
+//         throw err
+//       })
+
+//       // 2. 获取登录code
+//       const loginRes = await Taro.login()
+
+//       if (!loginRes.code) {
+//         throw new Error('获取登录凭证失败')
+//       }
+
+//       // 3. 使用RPC client调用后端小程序登录API
+//       const response = await enterpriseAuthClient['mini-login'].$post({
+//         json: {
+//           code: loginRes.code,
+//           userInfo: userProfile.userInfo
+//         }
+//       })
+
+//       Taro.hideLoading()
+
+//       if (response.status === 200) {
+//         const { token, user, isNewUser } = await response.json()
+
+//         // 4. 保存token和用户信息
+//         Taro.setStorageSync('enterpriseUserInfo', user)
+//         Taro.setStorageSync('enterprise_token', token) // 企业用户token存储
+
+//         Taro.showToast({
+//           title: isNewUser ? '注册成功' : '登录成功',
+//           icon: 'success',
+//           duration: 1500
+//         })
+
+//         // 跳转到首页
+//         setTimeout(() => {
+//           Taro.switchTab({ url: '/pages/yongren/dashboard/index' })
+//         }, 1500)
+//       } else {
+//         const errorData = await response.json()
+//         throw new Error(errorData.message || '登录失败')
+//       }
+//     } catch (error: any) {
+//       Taro.hideLoading()
+
+//       const errorMessage = error.message || '登录失败'
+
+//       if (errorMessage.includes('用户拒绝授权')) {
+//         Taro.showModal({
+//           title: '提示',
+//           content: '需要授权才能使用小程序的全部功能',
+//           showCancel: false,
+//           confirmText: '知道了'
+//         })
+//       } else if (errorMessage.includes('网络') || errorMessage.includes('Network')) {
+//         Taro.showModal({
+//           title: '网络错误',
+//           content: '请检查网络连接后重试',
+//           showCancel: false,
+//           confirmText: '确定'
+//         })
+//       } else {
+//         Taro.showToast({
+//           title: errorMessage,
+//           icon: 'none',
+//           duration: 3000
+//         })
+//       }
+//     } finally {
+//       setLoading(false)
+//     }
+//   }
+
+//   const goToAccountLogin = () => {
+//     Taro.navigateBack()
+//   }
+
+//   return (
+//     <View className="min-h-screen bg-gradient-to-br from-green-50 via-white to-blue-50">
+//       <Navbar
+//         title="微信登录"
+//         backgroundColor="bg-transparent"
+//         textColor="text-gray-900"
+//         border={false}
+//       />
+
+//       {!isWechatEnv ? (
+//         <View className="flex-1 flex items-center justify-center px-6">
+//           <View className="flex flex-col items-center">
+//             <View className="i-heroicons-exclamation-triangle-20-solid w-16 h-16 text-orange-500 mx-auto mb-4" />
+//             <Text className="text-lg font-semibold text-gray-900 mb-2">当前环境不支持</Text>
+//             <Text className="text-sm text-gray-600 mb-6">
+//               微信登录功能仅支持在微信小程序中使用
+//             </Text>
+//             <Button
+//               className="w-full max-w-xs"
+//               size="lg"
+//               variant="default"
+//               onClick={goToAccountLogin}
+//             >
+//               <View className="i-heroicons-arrow-left-20-solid w-4 h-4 mr-2" />
+//               返回账号登录
+//             </Button>
+//           </View>
+//         </View>
+//       ) : (
+//         <View className="flex-1 px-6 py-12">
+//         {/* Logo区域 */}
+//         <View className="flex flex-col items-center mb-10">
+//           <View className="w-20 h-20 mb-4 rounded-full bg-green-100 flex items-center justify-center">
+//             <View className="i-heroicons-chat-bubble-left-right-20-solid w-12 h-12 text-green-500" />
+//           </View>
+//           <Text className="text-2xl font-bold text-gray-900 mb-2">微信一键登录</Text>
+//           <Text className="text-gray-600 text-sm">便捷登录,无需输入账号密码</Text>
+//         </View>
+
+//         {/* 功能介绍 */}
+//         <View className="bg-white rounded-2xl shadow-sm p-6 mb-8">
+//           <Text className="text-lg font-semibold text-gray-900 mb-4">登录后您将享受</Text>
+
+//           <View className="space-y-3">
+//             <View className="flex items-center">
+//               <View className="w-2 h-2 bg-green-500 rounded-full mr-3" />
+//               <Text className="text-sm text-gray-700">数据云端同步</Text>
+//             </View>
+//             <View className="flex items-center">
+//               <View className="w-2 h-2 bg-green-500 rounded-full mr-3" />
+//               <Text className="text-sm text-gray-700">个性化推荐</Text>
+//             </View>
+//             <View className="flex items-center">
+//               <View className="w-2 h-2 bg-green-500 rounded-full mr-3" />
+//               <Text className="text-sm text-gray-700">多端数据共享</Text>
+//             </View>
+//             <View className="flex items-center">
+//               <View className="w-2 h-2 bg-green-500 rounded-full mr-3" />
+//               <Text className="text-sm text-gray-700">专属会员权益</Text>
+//             </View>
+//           </View>
+//         </View>
+
+//         {/* 微信登录按钮 */}
+//         <View className="space-y-4">
+//           <Button
+//             className={cn(
+//               "w-full",
+//               "bg-green-500 text-white hover:bg-green-600",
+//               "border-none"
+//             )}
+//             size="lg"
+//             variant="default"
+//             onClick={handleWechatLogin}
+//             disabled={loading || !isWechatEnv}
+//             loading={loading}
+//           >
+//             <View className="i-heroicons-chat-bubble-left-right-20-solid w-5 h-5 mr-2" />
+//             {loading ? '登录中...' : '微信一键登录'}
+//           </Button>
+
+//           <Button
+//             className="w-full"
+//             size="lg"
+//             variant="outline"
+//             onClick={goToAccountLogin}
+//           >
+//             <View className="i-heroicons-arrow-left-20-solid w-4 h-4 mr-2" />
+//             使用账号密码登录
+//           </Button>
+//         </View>
+
+//         {/* 隐私声明 */}
+//         <View className="mt-8 text-center">
+//           <Text className="text-xs text-gray-500 leading-relaxed">
+//             点击"微信一键登录"即表示您同意
+//             <Text className="text-blue-500">《用户协议》</Text>
+// 
+//             <Text className="text-blue-500">《隐私政策》</Text>
+//           </Text>
+//           <Text className="text-xs text-gray-400 mt-2">
+//             我们将严格保护您的个人信息安全
+//           </Text>
+//         </View>
+//       </View>
+//       )}
+//     </View>
+//   )
+// }

+ 0 - 1
mini-ui-packages/mini-enterprise-auth-ui/src/pages/profile/Profile.tsx

@@ -8,7 +8,6 @@ import { Button } from '@d8d/mini-shared-ui-components/button'
 import { Navbar } from '@d8d/mini-shared-ui-components/navbar'
 import { AvatarUpload } from '@d8d/mini-shared-ui-components/avatar-upload'
 import { type UploadResult } from '../../types/minio'
-import './Profile.css'
 
 const ProfilePage: React.FC = () => {
   const { user: userProfile, logout, isLoading: loading, updateUser } = useAuth()

+ 19 - 28
mini-ui-packages/mini-shared-ui-components/package.json

@@ -7,14 +7,14 @@
   "types": "src/index.ts",
   "exports": {
     ".": {
-      "types": "./src/index.ts",
-      "import": "./src/index.ts",
-      "require": "./src/index.ts"
+      "types": "./dist/src/index.d.ts",
+      "import": "./dist/src/index.js",
+      "require": "./dist/src/index.js"
     },
     "./button": {
-      "types": "./src/button.tsx",
-      "import": "./src/button.tsx",
-      "require": "./src/button.tsx"
+      "types": "./dist/src/button.d.ts",
+      "import": "./dist/src/button.js",
+      "require": "./dist/src/button.js"
     },
     "./avatar-upload": {
       "types": "./src/avatar-upload.tsx",
@@ -32,9 +32,9 @@
       "require": "./src/dialog.tsx"
     },
     "./form": {
-      "types": "./src/form.tsx",
-      "import": "./src/form.tsx",
-      "require": "./src/form.tsx"
+      "types": "./dist/src/form.d.ts",
+      "import": "./dist/src/form.js",
+      "require": "./dist/src/form.js"
     },
     "./image": {
       "types": "./src/image.tsx",
@@ -42,9 +42,9 @@
       "require": "./src/image.tsx"
     },
     "./input": {
-      "types": "./src/input.tsx",
-      "import": "./src/input.tsx",
-      "require": "./src/input.tsx"
+      "types": "./dist/src/input.d.ts",
+      "import": "./dist/src/input.js",
+      "require": "./dist/src/input.js"
     },
     "./label": {
       "types": "./src/label.tsx",
@@ -72,9 +72,9 @@
       "require": "./src/user-status-bar.tsx"
     },
     "./utils/cn": {
-      "types": "./src/utils/cn.ts",
-      "import": "./src/utils/cn.ts",
-      "require": "./src/utils/cn.ts"
+      "types": "./dist/src/utils/cn.d.ts",
+      "import": "./dist/src/utils/cn.js",
+      "require": "./dist/src/utils/cn.js"
     },
     "./utils/platform": {
       "types": "./src/utils/platform.ts",
@@ -82,19 +82,9 @@
       "require": "./src/utils/platform.ts"
     },
     "./utils/rpc/rpc-client": {
-      "types": "./src/utils/rpc/rpc-client.ts",
-      "import": "./src/utils/rpc/rpc-client.ts",
-      "require": "./src/utils/rpc/rpc-client.ts"
-    },
-    "./utils/rpc/response-polyfill": {
-      "types": "./src/utils/rpc/response-polyfill.ts",
-      "import": "./src/utils/rpc/response-polyfill.ts",
-      "require": "./src/utils/rpc/response-polyfill.ts"
-    },
-    "./utils/rpc/headers-polyfill": {
-      "types": "./src/utils/rpc/headers-polyfill.ts",
-      "import": "./src/utils/rpc/headers-polyfill.ts",
-      "require": "./src/utils/rpc/headers-polyfill.ts"
+      "types": "./dist/src/utils/rpc/rpc-client.d.ts",
+      "import": "./dist/src/utils/rpc/rpc-client.js",
+      "require": "./dist/src/utils/rpc/rpc-client.js"
     },
     "./testing": {
       "types": "./testing/index.ts",
@@ -113,6 +103,7 @@
   },
   "dependencies": {
     "@tarojs/components": "4.1.4",
+    "@tarojs/plugin-platform-weapp": "4.1.4",
     "@tarojs/react": "4.1.4",
     "@tarojs/taro": "4.1.4",
     "@radix-ui/react-slot": "^1.2.3",

+ 0 - 1
mini-ui-packages/mini-shared-ui-components/tsconfig.json

@@ -4,7 +4,6 @@
     "module": "ESNext",
     "lib": ["ES2020", "DOM"],
     "moduleResolution": "bundler",
-    "strict": true,
     "esModuleInterop": true,
     "skipLibCheck": true,
     "forceConsistentCasingInFileNames": true,

+ 1 - 1
mini-ui-packages/yongren-dashboard-ui/src/Dashboard/Dashboard.tsx

@@ -5,7 +5,7 @@ import { useQuery, useQueryClient } from '@tanstack/react-query'
 import { YongrenTabBarLayout } from '@d8d/yongren-shared-ui'
 import { enterpriseCompanyClient } from '../api'
 import { useAuth, useRequireAuth } from '@d8d/mini-enterprise-auth-ui'
-import './Dashboard.css'
+// import './Dashboard.css'
 
 // 类型定义
 interface OverviewData {

+ 1 - 1
mini-ui-packages/yongren-talent-management-ui/src/TalentDetail/TalentDetail.tsx

@@ -6,7 +6,7 @@ import { YongrenTabBarLayout } from '@d8d/yongren-shared-ui'
 import { PageContainer } from '@d8d/mini-shared-ui-components/page-container'
 import { enterpriseDisabilityClient } from '../api'
 import { useRequireAuth } from '@d8d/mini-enterprise-auth-ui'
-import './TalentDetail.css'
+// import './TalentDetail.css'
 
 export interface TalentDetailProps {
   // 组件属性定义(目前为空)

+ 1 - 1
mini-ui-packages/yongren-talent-management-ui/src/TalentManagement/TalentManagement.tsx

@@ -6,7 +6,7 @@ import { YongrenTabBarLayout } from '@d8d/yongren-shared-ui'
 import { PageContainer } from '@d8d/mini-shared-ui-components/page-container'
 import { enterpriseDisabilityClient } from '../api'
 import { useAuth, useRequireAuth } from '@d8d/mini-enterprise-auth-ui'
-import './TalentManagement.css'
+// import './TalentManagement.css'
 
 export interface TalentManagementProps {
   // 组件属性定义(目前为空)