From 5fc3e50abecce87fb80e89ff0816c52f2046c120 Mon Sep 17 00:00:00 2001
From: zhoumengxiang
Date: Fri, 27 Sep 2024 14:16:47 +0800
Subject: [PATCH] deploy
---
.github/workflows/main.yml | 144 +++++++++---------
docs/.vitepress/dist/404.html | 2 +-
.../dist/components/TButton/base.html | 2 +-
.../dist/components/TDatePicker/base.html | 2 +-
.../dist/components/TDetail/base.html | 2 +-
.../dist/components/TForm/base.html | 2 +-
.../dist/components/TModuleForm/base.html | 2 +-
.../dist/components/TQueryCondition/base.html | 2 +-
.../dist/components/TSelect/base.html | 2 +-
.../dist/components/TSelectTable/base.html | 2 +-
.../dist/components/TStepWizard/base.html | 2 +-
.../dist/components/TTable/base.html | 2 +-
docs/.vitepress/dist/components/index.html | 2 +-
docs/.vitepress/dist/hashmap.json | 2 +-
docs/.vitepress/dist/index.html | 6 +-
15 files changed, 88 insertions(+), 88 deletions(-)
diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml
index aaf001d..4beb945 100644
--- a/.github/workflows/main.yml
+++ b/.github/workflows/main.yml
@@ -1,90 +1,90 @@
-# name: Build and Deploy
-# on:
-# # 仅在推送到默认分支时运行。
-# push:
-# branches: ['master']
-# # 这个选项可以使你手动在 Action tab 页面触发工作流
-# workflow_dispatch:
-# # 设置 GITHUB_TOKEN 的权限,以允许部署到 GitHub Pages。
-# permissions:
-# contents: read
-# pages: write
-# id-token: write
-# # 允许一个并发的部署
-# concurrency:
-# group: 'pages'
-# cancel-in-progress: true
-
-# jobs:
-# build-and-deploy:
-# runs-on: ubuntu-latest
-# steps:
-# - name: Checkout
-# uses: actions/checkout@master
-
-# - name: vuepress-deploy
-# uses: jenkey2011/vuepress-deploy@master
-# env:
-# ACCESS_TOKEN: ${{ secrets.ACCESS_TOKEN }}
-# BUILD_SCRIPT: yarn && yarn docs:build
-# BUILD_DIR: docs/.vitepress/dist
-
-# 将静态内容部署到 GitHub Pages 的简易工作流程
-name: Deploy static content to Pages
-
+name: Build and Deploy
on:
# 仅在推送到默认分支时运行。
push:
branches: ['master']
-
# 这个选项可以使你手动在 Action tab 页面触发工作流
workflow_dispatch:
-
-# 设置 GITHUB_TOKEN 的权限,以允许部署到 GitHub Pages。
+ # 设置 GITHUB_TOKEN 的权限,以允许部署到 GitHub Pages。
permissions:
contents: read
pages: write
id-token: write
-
-# 允许一个并发的部署
+ # 允许一个并发的部署
concurrency:
group: 'pages'
cancel-in-progress: true
jobs:
- # 单次部署的工作描述
- deploy:
- environment:
- name: github-pages
- url: ${{ steps.deployment.outputs.page_url }}
+ build-and-deploy:
runs-on: ubuntu-latest
steps:
- - name: Checkout
- uses: actions/checkout@v3
- - name: Set up Node
- uses: actions/setup-node@v3
- - name: pnpm
- uses: pnpm/action-setup@v2
- with:
- version: 7
- - name: Use Node.js ${{ matrix.node-version }}
- uses: actions/setup-node@v3
- with:
- node-version: ${{ matrix.node-version }}
- cache: 'pnpm'
- - name: Install dependencies
+ - name: Checkout
+ uses: actions/checkout@master
+
+ - name: vuepress-deploy
+ uses: jenkey2011/vuepress-deploy@master
+ env:
+ ACCESS_TOKEN: ${{ secrets.ACCESS_TOKEN }}
+ BUILD_SCRIPT: yarn && yarn docs:build
+ BUILD_DIR: docs/.vitepress/dist
+
+# 将静态内容部署到 GitHub Pages 的简易工作流程
+# name: Deploy static content to Pages
+
+# on:
+# # 仅在推送到默认分支时运行。
+# push:
+# branches: ['master']
+
+# # 这个选项可以使你手动在 Action tab 页面触发工作流
+# workflow_dispatch:
+
+# # 设置 GITHUB_TOKEN 的权限,以允许部署到 GitHub Pages。
+# permissions:
+# contents: read
+# pages: write
+# id-token: write
+
+# # 允许一个并发的部署
+# concurrency:
+# group: 'pages'
+# cancel-in-progress: true
+
+# jobs:
+# # 单次部署的工作描述
+# deploy:
+# environment:
+# name: github-pages
+# url: ${{ steps.deployment.outputs.page_url }}
+# runs-on: ubuntu-latest
+# steps:
+# - name: Checkout
+# uses: actions/checkout@v3
+# - name: Set up Node
+# uses: actions/setup-node@v3
+# - name: pnpm
+# uses: pnpm/action-setup@v2
+# with:
+# version: 7
+# - name: Use Node.js ${{ matrix.node-version }}
+# uses: actions/setup-node@v3
+# with:
+# node-version: ${{ matrix.node-version }}
+# cache: 'pnpm'
+# - name: Install dependencies
-#
- run: pnpm install
- - name: Build
- run: npm && npm run docs:build
- - name: Setup Pages
- uses: actions/configure-pages@v3
- - name: Upload artifact
- uses: actions/upload-pages-artifact@v1
- with:
- # Upload dist repository
- path: 'docs/.vitepress/dist'
- - name: Deploy to GitHub Pages
- id: deployment
- uses: actions/deploy-pages@v1
\ No newline at end of file
+# #
+# run: pnpm install
+# - name: Build
+# run: npm && npm run docs:build
+# - name: Setup Pages
+# uses: actions/configure-pages@v3
+# - name: Upload artifact
+# uses: actions/upload-pages-artifact@v1
+# with:
+# # Upload dist repository
+# path: 'docs/.vitepress/dist'
+# - name: Deploy to GitHub Pages
+# id: deployment
+# uses: actions/deploy-pages@v1
\ No newline at end of file
diff --git a/docs/.vitepress/dist/404.html b/docs/.vitepress/dist/404.html
index 9c553b7..477ea23 100644
--- a/docs/.vitepress/dist/404.html
+++ b/docs/.vitepress/dist/404.html
@@ -12,7 +12,7 @@
Skip to content 404
PAGE NOT FOUND
But if you don't change your direction, and if you keep looking, you may end up where you are heading.
-
diff --git a/docs/.vitepress/dist/components/TButton/base.html b/docs/.vitepress/dist/components/TButton/base.html
index bac7f02..fc5b98c 100644
--- a/docs/.vitepress/dist/components/TButton/base.html
+++ b/docs/.vitepress/dist/components/TButton/base.html
@@ -15,7 +15,7 @@
-
diff --git a/docs/.vitepress/dist/components/TDatePicker/base.html b/docs/.vitepress/dist/components/TDatePicker/base.html
index acd5c94..ee024a1 100644
--- a/docs/.vitepress/dist/components/TDatePicker/base.html
+++ b/docs/.vitepress/dist/components/TDatePicker/base.html
@@ -15,7 +15,7 @@
-
diff --git a/docs/.vitepress/dist/components/TDetail/base.html b/docs/.vitepress/dist/components/TDetail/base.html
index 3e47252..82e9543 100644
--- a/docs/.vitepress/dist/components/TDetail/base.html
+++ b/docs/.vitepress/dist/components/TDetail/base.html
@@ -23,7 +23,7 @@
<!-- 字典回显模式 -->
<t-detail :descData="descData" :dataList="dataList"
:listTypeInfo=="listTypeInfo" />2、配置参数(Attributes)继承 el-descriptions Attributes
参数 | 说明 | 类型 | 默认值 |
---|
descData | 详情页面数据源 | Array | 无 |
----label | 详情字段说明标题 | String | 无 |
----value | 详情字段返回值 | String | 无 |
----fieldName | value 返回值的字段 | String | 无 |
----slotName | 插槽(自定义 value) | slot | 无 |
----span | 占用的列宽,默认占用 1 列,最多 4 列 | Number | 1 |
----tooltip | value 值的提示语 | String/function | 无 |
----iconSize | tooltip 提示语的 icon 大小 | String/Number | 继承字体大小 |
----iconColor | tooltip 提示语的 icon 颜色 | String | 继承颜色 |
----filters | 字典类型(即后台返回的是数字类型)过滤转成中文 | Object | 无 |
-------list | 字典 list 定义的数据名即 listTypeInfo 里面对应的值 | String | 无 |
-------key | 下拉数据源的 key 字段 | String | 'value' |
-------label | 下拉数据源的 label 字段 | String | 'label' |
descColumn | 布局一行显示几列(默认:一行显示 4 列) | Number | 4 |
dataList | 开启 filters 时详情接口返回的数据 | Object | {} |
listTypeInfo | 开启 filters 时下拉数据源 | Object | {} |
3、继承 el-descriptions events
-
- Skip to content lamp-admin
前端框架及组件库
集成微前端,开箱即用
💪
技术栈
Vite + Vue3 + Vue-router + Pinia + TypeScript ,采用业内先进的技术栈,使框架始终保持新鲜
🎨
风格百变
通过布局与主题组合搭配,可实现数百种不同风格的界面
🗺️
多功能导航栏
配置路由即可自动生成导航栏,轻松实现导航嵌套、图标、外链、徽章、权限等功能
🔑
全场景权限验证
内置鉴权组件、鉴权指令和鉴权函数,真正实现各种场景下的权限验证
🧊
页面缓存
支持无限层级的页面缓存,应对各种需求场景,并提供简单易懂的 API 方便开发者快速集成
🌐
面向国际
内置业内通用国际化解决方案,通过简单配置实现多国语言切换
📦
丰富的组件
内置常用组件,提高开发效率;同时提供组件快速生成工具
📃
丰富的业务页面
通过真实场景及真实需求,沉淀出数十个业务应用的静态页面,方便开发人员直接使用
-