From f64eb03ccd9c062dbac9ddc5cf9be73421b6fb26 Mon Sep 17 00:00:00 2001 From: dlaren Date: Wed, 10 Sep 2025 15:41:32 +0800 Subject: [PATCH] =?UTF-8?q?=E3=80=90=E4=BF=AE=E6=94=B9=E3=80=91=201?= =?UTF-8?q?=E3=80=81=E5=89=8D=E7=AB=AF=E9=85=8D=E7=BD=AE=E9=A1=B9=EF=BC=9B?= =?UTF-8?q?2=E3=80=81PPT=E5=87=BA=E9=A2=98=E9=A1=B5=E9=9D=A2=E5=8A=A0?= =?UTF-8?q?=E8=BD=BD=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .env.prod | 2 +- package.json | 8 ++--- src/views/Home/Index.vue | 45 +----------------------- src/views/iot/home/index.vue | 2 -- src/views/paper/question/WpsPptxForm.vue | 21 +++++++---- vite.config.ts | 2 +- 6 files changed, 22 insertions(+), 58 deletions(-) diff --git a/.env.prod b/.env.prod index ca7cb8e..cba1b39 100644 --- a/.env.prod +++ b/.env.prod @@ -4,7 +4,7 @@ NODE_ENV=production VITE_DEV=false # 请求路径 -VITE_BASE_URL='http://localhost:48080' +VITE_BASE_URL='http://8.153.195.62:48080' # 文件上传类型:server - 后端上传, client - 前端直连上传,仅支持S3服务 VITE_UPLOAD_TYPE=server diff --git a/package.json b/package.json index bd4a637..6de9800 100644 --- a/package.json +++ b/package.json @@ -1,5 +1,5 @@ { - "name": "yudao-ui-admin-vue3", + "name": "pengchen-ui-vue3-ts", "version": "2.4.2-snapshot", "description": "基于vue3、vite4、element-plus、typesScript", "author": "xingyu", @@ -145,12 +145,12 @@ "license": "MIT", "repository": { "type": "git", - "url": "git+https://gitee.com/yudaocode/yudao-ui-admin-vue3" + "url": "git+http://47.101.60.131:10082/" }, "bugs": { - "url": "https://gitee.com/yudaocode/yudao-ui-admin-vue3/issues" + "url": "http://47.101.60.131:10082/" }, - "homepage": "https://gitee.com/yudaocode/yudao-ui-admin-vue3", + "homepage": "http://47.101.60.131:10082/", "web-types": "./web-types.json", "engines": { "node": ">= 16.0.0", diff --git a/src/views/Home/Index.vue b/src/views/Home/Index.vue index 56ae904..93b4536 100644 --- a/src/views/Home/Index.vue +++ b/src/views/Home/Index.vue @@ -209,50 +209,7 @@ const getCount = async () => { // 获取项目数 let projects = reactive([]) const getProject = async () => { - const data = [ - { - name: 'ruoyi-vue-pro', - icon: 'akar-icons:github-fill', - message: 'https://github.com/YunaiV/ruoyi-vue-pro', - personal: 'Spring Boot 单体架构', - time: new Date() - }, - { - name: 'yudao-ui-admin-vue3', - icon: 'logos:vue', - message: 'https://github.com/yudaocode/yudao-ui-admin-vue3', - personal: 'Vue3 + element-plus', - time: new Date() - }, - { - name: 'yudao-ui-admin-vben', - icon: 'logos:vue', - message: 'https://github.com/yudaocode/yudao-ui-admin-vben', - personal: 'Vue3 + vben(antd)', - time: new Date() - }, - { - name: 'yudao-cloud', - icon: 'akar-icons:github', - message: 'https://github.com/YunaiV/yudao-cloud', - personal: 'Spring Cloud 微服务架构', - time: new Date() - }, - { - name: 'yudao-ui-mall-uniapp', - icon: 'logos:vue', - message: 'https://github.com/yudaocode/yudao-ui-admin-uniapp', - personal: 'Vue3 + uniapp', - time: new Date() - }, - { - name: 'yudao-ui-admin-vue2', - icon: 'logos:vue', - message: 'https://github.com/yudaocode/yudao-ui-admin-vue2', - personal: 'Vue2 + element-ui', - time: new Date() - } - ] + const data = [] projects = Object.assign(projects, data) } diff --git a/src/views/iot/home/index.vue b/src/views/iot/home/index.vue index bee4116..9a8a39a 100644 --- a/src/views/iot/home/index.vue +++ b/src/views/iot/home/index.vue @@ -166,12 +166,10 @@ import { } from '@/api/iot/statistics' import { formatDate } from '@/utils/formatTime' -// TODO @super:参考下 /Users/yunai/Java/yudao-ui-admin-vue3/src/views/mall/home/index.vue,拆一拆组件 /** IoT 首页 */ defineOptions({ name: 'IoTHome' }) -// TODO @super:使用下 Echart 组件,参考 yudao-ui-admin-vue3/src/views/mall/home/components/TradeTrendCard.vue 等 echarts.use([ TooltipComponent, LegendComponent, diff --git a/src/views/paper/question/WpsPptxForm.vue b/src/views/paper/question/WpsPptxForm.vue index f680264..634ae2e 100644 --- a/src/views/paper/question/WpsPptxForm.vue +++ b/src/views/paper/question/WpsPptxForm.vue @@ -142,7 +142,7 @@ style="width: 100%" > - +