Skip to content

Commit a214cba

Browse files
authored
feat: ai plugin refactor (opentiny#1657)
1 parent bea520c commit a214cba

File tree

82 files changed

+6003
-2293
lines changed

Some content is hidden

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

82 files changed

+6003
-2293
lines changed

designer-demo/public/mock/bundle.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21269,7 +21269,7 @@
2126921269
"zh_CN": "表单"
2127021270
},
2127121271
"screenshot": "",
21272-
"snippetName": "tiny-form",
21272+
"snippetName": "TinyForm",
2127321273
"icon": "form",
2127421274
"schema": {
2127521275
"componentName": "TinyForm",
@@ -21709,7 +21709,7 @@
2170921709
},
2171021710
"icon": "grid",
2171121711
"screenshot": "",
21712-
"snippetName": "tinyGrid",
21712+
"snippetName": "TinyGrid",
2171321713
"schema": {
2171421714
"componentName": "TinyGrid",
2171521715
"props": {
@@ -21791,7 +21791,7 @@
2179121791
"zh_CN": "走马灯"
2179221792
},
2179321793
"screenshot": "",
21794-
"snippetName": "tiny-carousel",
21794+
"snippetName": "TinyCarousel",
2179521795
"icon": "carousel",
2179621796
"schema": {
2179721797
"componentName": "TinyCarousel",

designer-demo/src/composable/http/index.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ const procession = {
1616
let loginVM = null
1717

1818
const showError = (url, message) => {
19+
if (message === 'canceled') return // 取消请求场景不报错
1920
globalNotify({
2021
type: 'error',
2122
title: '接口报错',

0 commit comments

Comments
 (0)