Skip to content
Draft
Show file tree
Hide file tree
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file modified db/TDesign.db
Binary file not shown.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Large diffs are not rendered by default.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion packages/frontend/_site/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
}
</style>
<![endif]-->
<script type="module" crossorigin src="/assets/index.8bca0f80.js"></script>
<script type="module" crossorigin src="/assets/index.a1977b0e.js"></script>
<link rel="stylesheet" href="/assets/index.b0382545.css">
</head>

Expand Down
1 change: 1 addition & 0 deletions packages/frontend/src/pages/api/const.js
Original file line number Diff line number Diff line change
Expand Up @@ -75,3 +75,4 @@ export const P_VUE_MOBILE = 8
export const P_REACT_MOBILE = 16
export const P_ANGULAR_MOBILE = 32
export const P_MINIPROGRAM = 64
export const P_UNIAPP = 128
3 changes: 2 additions & 1 deletion packages/frontend/src/pages/api/import.vue
Original file line number Diff line number Diff line change
Expand Up @@ -272,6 +272,7 @@ import {
NUMBER,
P_VUE_PC,
P_VUE_MOBILE,
P_UNIAPP,
API_CATEGORY_EXTENDS,
API_CATEGORY_RETURN,
API_CATEGORY_T
Expand Down Expand Up @@ -357,7 +358,7 @@ export default {
return API_CATEGORY_MAP[this.formData.apiCategory] || { placeholder: {} }
},
isShowSugar () {
const intersection = this.formData.platform.filter(item => [P_VUE_PC, P_VUE_MOBILE].includes(Number(item)))
const intersection = this.formData.platform.filter(item => [P_VUE_PC, P_VUE_MOBILE, P_UNIAPP].includes(Number(item)))
const platformAllow = !!intersection.length
const categoryAllow = [
API_CATEGORY_EVENTS,
Expand Down
Loading