Skip to content

Commit 21641f0

Browse files
committed
fix: 修复执行命令失败的问题
1 parent 5713da7 commit 21641f0

File tree

149 files changed

+7785
-7
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

149 files changed

+7785
-7
lines changed

packages/frontend/_site/assets/index.75e9f1bb.js renamed to packages/frontend/_site/assets/index.79021b1b.js

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/frontend/_site/assets/index.3eea9dee.js renamed to packages/frontend/_site/assets/index.a8408da8.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/frontend/_site/assets/preview.fe6fa30a.js renamed to packages/frontend/_site/assets/preview.eeca2cc2.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/frontend/_site/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
}
1616
</style>
1717
<![endif]-->
18-
<script type="module" crossorigin src="/assets/index.3eea9dee.js"></script>
18+
<script type="module" crossorigin src="/assets/index.a8408da8.js"></script>
1919
<link rel="stylesheet" href="/assets/index.78efbc8a.css">
2020
</head>
2121

packages/frontend/src/pages/api/operation.vue

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@
2424
placeholder="请选择组件"
2525
clearable
2626
filterable
27+
:tips="formData.component === 'ALL' ? tips : ''"
2728
>
2829
<t-option
2930
v-for="(item, index) in componentList"
@@ -96,9 +97,10 @@ export default {
9697
codeType: '',
9798
generateFilesVisible: false,
9899
checkedAll: false,
100+
tips: '全量输出时限制为只能输出文档,如需输出其他文件请选择对应组件',
99101
formData: {
100102
platform: [],
101-
component: '',
103+
component: 'ALL',
102104
finalProject: false,
103105
}
104106
}

packages/products/tdesign-vue-next/src/affix/affix.en-US.md

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,3 +18,22 @@ onFixedChange | Function | | Typescript:`(affixed: boolean, context: { top: n
1818
name | params | description
1919
-- | -- | --
2020
fixed-change | `(affixed: boolean, context: { top: number })` | \-
21+
22+
## API
23+
### Affix Props
24+
25+
name | type | default | description | required
26+
-- | -- | -- | -- | --
27+
container | String / Function | () => (() => window) | Typescript:`ScrollContainer`[see more ts definition](https://github.com/Tencent/tdesign-vue-next/blob/develop/src/common.ts) | N
28+
content | String / Slot / Function | - | Typescript:`string \| TNode`[see more ts definition](https://github.com/Tencent/tdesign-vue-next/blob/develop/src/common.ts) | N
29+
default | String / Slot / Function | - | Typescript:`string \| TNode`[see more ts definition](https://github.com/Tencent/tdesign-vue-next/blob/develop/src/common.ts) | N
30+
offsetBottom | Number | 0 | When the distance from the bottom of the container reaches the specified distance, the trigger is fixed | N
31+
offsetTop | Number | 0 | When the distance from the top of the container reaches the specified distance, the trigger is fixed | N
32+
zIndex | Number | - | \- | N
33+
onFixedChange | Function | | Typescript:`(affixed: boolean, context: { top: number }) => void`<br/> | N
34+
35+
### Affix Events
36+
37+
name | params | description
38+
-- | -- | --
39+
fixed-change | `(affixed: boolean, context: { top: number })` | \-

packages/products/tdesign-vue-next/src/affix/affix.md

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,3 +18,22 @@ onFixedChange | Function | | TS 类型:`(affixed: boolean, context: { top: nu
1818
名称 | 参数 | 描述
1919
-- | -- | --
2020
fixed-change | `(affixed: boolean, context: { top: number })` | 固定状态发生变化时触发
21+
22+
## API
23+
### Affix Props
24+
25+
名称 | 类型 | 默认值 | 说明 | 必传
26+
-- | -- | -- | -- | --
27+
container | String / Function | () => (() => window) | 指定滚动的容器。数据类型为 String 时,会被当作选择器处理,进行节点查询。示例:'body' 或 () => document.body。TS 类型:`ScrollContainer`[通用类型定义](https://github.com/Tencent/tdesign-vue-next/blob/develop/src/common.ts) | N
28+
content | String / Slot / Function | - | 内容。TS 类型:`string \| TNode`[通用类型定义](https://github.com/Tencent/tdesign-vue-next/blob/develop/src/common.ts) | N
29+
default | String / Slot / Function | - | 内容,同 content。TS 类型:`string \| TNode`[通用类型定义](https://github.com/Tencent/tdesign-vue-next/blob/develop/src/common.ts) | N
30+
offsetBottom | Number | 0 | 距离容器底部达到指定距离后触发固定 | N
31+
offsetTop | Number | 0 | 距离容器顶部达到指定距离后触发固定 | N
32+
zIndex | Number | - | 固钉定位层级,样式默认为 500 | N
33+
onFixedChange | Function | | TS 类型:`(affixed: boolean, context: { top: number }) => void`<br/>固定状态发生变化时触发 | N
34+
35+
### Affix Events
36+
37+
名称 | 参数 | 描述
38+
-- | -- | --
39+
fixed-change | `(affixed: boolean, context: { top: number })` | 固定状态发生变化时触发
Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
:: BASE_DOC ::
2+
3+
## API
4+
### Alert Props
5+
6+
name | type | default | description | required
7+
-- | -- | -- | -- | --
8+
close | String / Boolean / Slot / Function | false | Typescript:`string \| boolean \| TNode`[see more ts definition](https://github.com/Tencent/tdesign-vue-next/blob/develop/src/common.ts) | N
9+
default | String / Slot / Function | - | Typescript:`string \| TNode`[see more ts definition](https://github.com/Tencent/tdesign-vue-next/blob/develop/src/common.ts) | N
10+
icon | Slot / Function | - | Typescript:`TNode`[see more ts definition](https://github.com/Tencent/tdesign-vue-next/blob/develop/src/common.ts) | N
11+
maxLine | Number | 0 | \- | N
12+
message | String / Slot / Function | - | Typescript:`string \| TNode`[see more ts definition](https://github.com/Tencent/tdesign-vue-next/blob/develop/src/common.ts) | N
13+
operation | Slot / Function | - | Typescript:`TNode`[see more ts definition](https://github.com/Tencent/tdesign-vue-next/blob/develop/src/common.ts) | N
14+
theme | String | info | options: success/info/warning/error | N
15+
title | String / Slot / Function | - | Typescript:`string \| TNode`[see more ts definition](https://github.com/Tencent/tdesign-vue-next/blob/develop/src/common.ts) | N
16+
onClose | Function | | Typescript:`(context: { e: MouseEvent }) => void`<br/> | N
17+
onClosed | Function | | Typescript:`(context: { e: TransitionEvent }) => void`<br/> | N
18+
19+
### Alert Events
20+
21+
name | params | description
22+
-- | -- | --
23+
close | `(context: { e: MouseEvent })` | \-
24+
closed | `(context: { e: TransitionEvent })` | \-
Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
:: BASE_DOC ::
2+
3+
## API
4+
### Alert Props
5+
6+
名称 | 类型 | 默认值 | 说明 | 必传
7+
-- | -- | -- | -- | --
8+
close | String / Boolean / Slot / Function | false | 关闭按钮。值为 true 则显示默认关闭按钮;值为 false 则不显示按钮;值类型为 string 则直接显示;值类型为 Function 则可以自定关闭按钮。TS 类型:`string \| boolean \| TNode`[通用类型定义](https://github.com/Tencent/tdesign-vue-next/blob/develop/src/common.ts) | N
9+
default | String / Slot / Function | - | 内容,同 message。TS 类型:`string \| TNode`[通用类型定义](https://github.com/Tencent/tdesign-vue-next/blob/develop/src/common.ts) | N
10+
icon | Slot / Function | - | 图标。TS 类型:`TNode`[通用类型定义](https://github.com/Tencent/tdesign-vue-next/blob/develop/src/common.ts) | N
11+
maxLine | Number | 0 | 内容显示最大行数,超出的内容会折叠收起,用户点击后再展开。值为 0 表示不折叠 | N
12+
message | String / Slot / Function | - | 内容(子元素)。TS 类型:`string \| TNode`[通用类型定义](https://github.com/Tencent/tdesign-vue-next/blob/develop/src/common.ts) | N
13+
operation | Slot / Function | - | 跟在告警内容后面的操作区。TS 类型:`TNode`[通用类型定义](https://github.com/Tencent/tdesign-vue-next/blob/develop/src/common.ts) | N
14+
theme | String | info | 组件风格。可选项:success/info/warning/error | N
15+
title | String / Slot / Function | - | 标题。TS 类型:`string \| TNode`[通用类型定义](https://github.com/Tencent/tdesign-vue-next/blob/develop/src/common.ts) | N
16+
onClose | Function | | TS 类型:`(context: { e: MouseEvent }) => void`<br/>关闭按钮点击时触发 | N
17+
onClosed | Function | | TS 类型:`(context: { e: TransitionEvent }) => void`<br/>告警提示框关闭动画结束后触发 | N
18+
19+
### Alert Events
20+
21+
名称 | 参数 | 描述
22+
-- | -- | --
23+
close | `(context: { e: MouseEvent })` | 关闭按钮点击时触发
24+
closed | `(context: { e: TransitionEvent })` | 告警提示框关闭动画结束后触发
Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
:: BASE_DOC ::
2+
3+
## API
4+
### Anchor Props
5+
6+
name | type | default | description | required
7+
-- | -- | -- | -- | --
8+
affixProps | Object | - | Typescript:`AffixProps`[Affix API Documents](./affix?tab=api)[see more ts definition](https://github.com/Tencent/tdesign-vue-next/tree/develop/src/anchor/type.ts) | N
9+
bounds | Number | 5 | \- | N
10+
container | String / Function | () => (() => window) | Typescript:`ScrollContainer`[see more ts definition](https://github.com/Tencent/tdesign-vue-next/blob/develop/src/common.ts) | N
11+
cursor | Slot / Function | - | Typescript:`TNode`[see more ts definition](https://github.com/Tencent/tdesign-vue-next/blob/develop/src/common.ts) | N
12+
getCurrentAnchor | Function | - | Custom Highlighted Anchor Points。Typescript:`(activeLink: string) => string` | N
13+
size | String | medium | options: small/medium/large。Typescript:`SizeEnum`[see more ts definition](https://github.com/Tencent/tdesign-vue-next/blob/develop/src/common.ts) | N
14+
targetOffset | Number | 0 | \- | N
15+
onChange | Function | | Typescript:`(currentLink: string, prevLink: string) => void`<br/> | N
16+
onClick | Function | | Typescript:`(link: { href: string; title: string; e: MouseEvent }) => void`<br/> | N
17+
18+
### Anchor Events
19+
20+
name | params | description
21+
-- | -- | --
22+
change | `(currentLink: string, prevLink: string)` | \-
23+
click | `(link: { href: string; title: string; e: MouseEvent })` | \-
24+
25+
### AnchorItem Props
26+
27+
name | type | default | description | required
28+
-- | -- | -- | -- | --
29+
href | String | - | required | Y
30+
target | String | _self | options: _self/_blank/_parent/_top | N
31+
title | String / Slot / Function | '' | Typescript:`string \| TNode`[see more ts definition](https://github.com/Tencent/tdesign-vue-next/blob/develop/src/common.ts) | N
32+
33+
### AnchorTarget Props
34+
35+
name | type | default | description | required
36+
-- | -- | -- | -- | --
37+
id | String | - | required | Y
38+
tag | String | div | \- | N
Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
:: BASE_DOC ::
2+
3+
## API
4+
### Anchor Props
5+
6+
名称 | 类型 | 默认值 | 说明 | 必传
7+
-- | -- | -- | -- | --
8+
affixProps | Object | - | 透传 Affix 组件属性,即让 Anchor 组件支持所有 Affix 组件特性。TS 类型:`AffixProps`[Affix API Documents](./affix?tab=api)[详细类型定义](https://github.com/Tencent/tdesign-vue-next/tree/develop/src/anchor/type.ts) | N
9+
bounds | Number | 5 | 锚点区域边界 | N
10+
container | String / Function | () => (() => window) | 指定滚动的容器。数据类型为 String 时,会被当作选择器处理,进行节点查询。示例:'body' 或 () => document.body。TS 类型:`ScrollContainer`[通用类型定义](https://github.com/Tencent/tdesign-vue-next/blob/develop/src/common.ts) | N
11+
cursor | Slot / Function | - | 用于自定义选中项左侧游标。TS 类型:`TNode`[通用类型定义](https://github.com/Tencent/tdesign-vue-next/blob/develop/src/common.ts) | N
12+
getCurrentAnchor | Function | - | 自定义高亮的锚点 。TS 类型:`(activeLink: string) => string` | N
13+
size | String | medium | 组件尺寸,small(120px),medium(200px),large(320px)。可选项:small/medium/large。TS 类型:`SizeEnum`[通用类型定义](https://github.com/Tencent/tdesign-vue-next/blob/develop/src/common.ts) | N
14+
targetOffset | Number | 0 | 锚点滚动偏移量 | N
15+
onChange | Function | | TS 类型:`(currentLink: string, prevLink: string) => void`<br/>锚点改变时触发 | N
16+
onClick | Function | | TS 类型:`(link: { href: string; title: string; e: MouseEvent }) => void`<br/>锚点被点击时触发 | N
17+
18+
### Anchor Events
19+
20+
名称 | 参数 | 描述
21+
-- | -- | --
22+
change | `(currentLink: string, prevLink: string)` | 锚点改变时触发
23+
click | `(link: { href: string; title: string; e: MouseEvent })` | 锚点被点击时触发
24+
25+
### AnchorItem Props
26+
27+
名称 | 类型 | 默认值 | 说明 | 必传
28+
-- | -- | -- | -- | --
29+
href | String | - | 必需。锚点链接, 如果是 hash 模式需要加上当前 path | Y
30+
target | String | _self | 锚点文本。可选项:_self/_blank/_parent/_top | N
31+
title | String / Slot / Function | '' | 锚点文本。TS 类型:`string \| TNode`[通用类型定义](https://github.com/Tencent/tdesign-vue-next/blob/develop/src/common.ts) | N
32+
33+
### AnchorTarget Props
34+
35+
名称 | 类型 | 默认值 | 说明 | 必传
36+
-- | -- | -- | -- | --
37+
id | String | - | 必需。目标内容 id | Y
38+
tag | String | div | 渲染的标签 | N

0 commit comments

Comments
 (0)