mirror of
https://gitee.com/fit2cloud-feizhiyun/MaxKB.git
synced 2025-12-06 19:42:41 +08:00
fix: Fix table rendering errors
This commit is contained in:
@@ -17,7 +17,7 @@
|
||||
shape="square"
|
||||
:size="size"
|
||||
>
|
||||
<img src="@/assets/knowledge/logo_workflow.svg" style="width: 100%" alt="" />
|
||||
<img src="@/assets/knowledge/logo_workflow.svg" style="width: 60%" alt="" />
|
||||
</el-avatar>
|
||||
<el-avatar v-else class="avatar-blue" shape="square" :size="size">
|
||||
<img src="@/assets/knowledge/icon_document.svg" style="width: 58%" alt="" />
|
||||
|
||||
@@ -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',
|
||||
}),
|
||||
],
|
||||
),
|
||||
])
|
||||
},
|
||||
},
|
||||
}
|
||||
|
||||
@@ -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<number | string>('')
|
||||
watch(showInput, (bool: boolean) => {
|
||||
if (!bool) {
|
||||
inputValue.value = ''
|
||||
|
||||
@@ -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: [
|
||||
|
||||
@@ -82,7 +82,7 @@
|
||||
>
|
||||
<div class="flex align-center">
|
||||
<el-avatar class="avatar-purple mt-4" shape="square" :size="32">
|
||||
<img src="@/assets/knowledge/logo_workflow.svg" style="width: 100%" alt="" />
|
||||
<img src="@/assets/knowledge/logo_workflow.svg" style="width: 600%" alt="" />
|
||||
</el-avatar>
|
||||
<div>
|
||||
<p>
|
||||
|
||||
Reference in New Issue
Block a user