diff --git a/ui/src/components/app-icon/KnowledgeIcon.vue b/ui/src/components/app-icon/KnowledgeIcon.vue index da721b29c..43e707151 100644 --- a/ui/src/components/app-icon/KnowledgeIcon.vue +++ b/ui/src/components/app-icon/KnowledgeIcon.vue @@ -17,7 +17,7 @@ shape="square" :size="size" > - + diff --git a/ui/src/components/app-icon/icons/knowledge.ts b/ui/src/components/app-icon/icons/knowledge.ts index 205418dab..be262a7e0 100644 --- a/ui/src/components/app-icon/icons/knowledge.ts +++ b/ui/src/components/app-icon/icons/knowledge.ts @@ -127,4 +127,33 @@ export default { ]) }, }, + 'app-workflow': { + iconReader: () => { + return h('i', [ + h( + 'svg', + { + style: { height: '100%', width: '100%' }, + viewBox: '0 0 1024 1024', + version: '1.1', + xmlns: 'http://www.w3.org/2000/svg', + }, + [ + h('path', { + d: 'M163.029333 207.189333C204.586667 179.114667 252.842667 170.666667 285.056 170.666667H640a42.666667 42.666667 0 1 0 0 85.333333H285.098667c-20.096 0-50.432 5.76-74.325334 21.930667-21.546667 14.506667-40.106667 38.656-40.106666 83.754666 0 45.141333 18.645333 69.845333 40.448 84.821334 24.021333 16.512 54.272 22.528 73.984 22.528h457.173333c32.554667 0 80.170667 8.832 120.96 37.376 43.093333 30.122667 75.434667 80.341333 75.434667 154.453333 0 74.154667-32.341333 124.458667-75.306667 154.752-40.746667 28.672-88.405333 37.717333-121.088 37.717333H384a42.666667 42.666667 0 1 0 0-85.333333h358.272c19.669333 0 48.896-5.973333 71.936-22.186667 20.778667-14.634667 39.125333-39.168 39.125333-84.906666s-18.346667-70.101333-38.997333-84.608c-22.997333-16.042667-52.224-21.930667-72.064-21.930667H285.098667c-32.682667 0-80.938667-9.045333-122.368-37.546667C119.04 486.698667 85.333333 436.309333 85.333333 361.642667c0-74.794667 33.792-124.842667 77.696-154.453334z', + fill: 'currentColor', + }), + h('path', { + d: 'M384 768a42.666667 42.666667 0 1 0 0 85.333333H128a42.666667 42.666667 0 1 1 0-85.333333h256zM640 256a42.666667 42.666667 0 1 0 0-85.333333h253.653333a42.666667 42.666667 0 1 1 0 85.333333H640z', + fill: 'currentColor', + }), + h('path', { + d: 'M640 170.666667a42.666667 42.666667 0 1 0 0 85.333333 42.666667 42.666667 0 0 0 0-85.333333z m-128 42.666666a128 128 0 1 1 256 0 128 128 0 0 1-256 0zM384 768a42.666667 42.666667 0 1 0 0 85.333333 42.666667 42.666667 0 0 0 0-85.333333z m-128 42.666667a128 128 0 1 1 256 0 128 128 0 0 1-256 0z', + fill: 'currentColor', + }), + ], + ), + ]) + }, + }, } diff --git a/ui/src/components/app-table/index.vue b/ui/src/components/app-table/index.vue index 4ce0b6253..73a396c45 100644 --- a/ui/src/components/app-table/index.vue +++ b/ui/src/components/app-table/index.vue @@ -94,7 +94,7 @@ const appTableRef = ref() const loading = ref(false) const showInput = ref(false) const inputValue = ref('') -const tableHeight = ref(null) +const tableHeight = ref('') watch(showInput, (bool: boolean) => { if (!bool) { inputValue.value = '' diff --git a/ui/src/router/modules/document.ts b/ui/src/router/modules/document.ts index f2b2a713c..19aaef6d7 100644 --- a/ui/src/router/modules/document.ts +++ b/ui/src/router/modules/document.ts @@ -112,8 +112,8 @@ const DocumentRouter = { path: 'knowledge-workflow-setting', name: 'knowledgeWorkflowSetting', meta: { - title: 'views.workflow.knowledgeWorkflow', - icon: 'app-problems', + title: 'views.workflow.workflow', + icon: 'app-workflow', activeMenu: '/knowledge', sameRoute: 'knowledge', permission: [ diff --git a/ui/src/views/knowledge/KnowledgeSetting.vue b/ui/src/views/knowledge/KnowledgeSetting.vue index 2fd7d35a1..cfe54f7ef 100644 --- a/ui/src/views/knowledge/KnowledgeSetting.vue +++ b/ui/src/views/knowledge/KnowledgeSetting.vue @@ -82,7 +82,7 @@ >
- +