mirror of
https://github.com/1Panel-dev/MaxKB.git
synced 2025-12-26 01:33:05 +00:00
feat: typo
This commit is contained in:
parent
c313693ecb
commit
226759e668
|
|
@ -38,7 +38,7 @@
|
|||
<!-- 知识库引用 dialog -->
|
||||
<ParagraphSourceDialog ref="ParagraphSourceDialogRef" />
|
||||
<!-- 执行详情 dialog -->
|
||||
<ExecutionDetailDialog ref="ExecutionDetialDialogRef" />
|
||||
<ExecutionDetailDialog ref="ExecutionDetailDialogRef" />
|
||||
</template>
|
||||
<script setup lang="ts">
|
||||
import { ref } from 'vue'
|
||||
|
|
@ -58,12 +58,12 @@ const props = defineProps({
|
|||
})
|
||||
|
||||
const ParagraphSourceDialogRef = ref()
|
||||
const ExecutionDetialDialogRef = ref()
|
||||
const ExecutionDetailDialogRef = ref()
|
||||
function openParagraph(row: any, id?: string) {
|
||||
ParagraphSourceDialogRef.value.open(row, id)
|
||||
}
|
||||
function openExecutionDetail(row: any) {
|
||||
ExecutionDetialDialogRef.value.open(row)
|
||||
ExecutionDetailDialogRef.value.open(row)
|
||||
}
|
||||
</script>
|
||||
<style lang="scss" scoped>
|
||||
|
|
|
|||
|
|
@ -86,7 +86,7 @@ import applicationApi from '@/api/application'
|
|||
import { MsgSuccess, MsgConfirm, MsgError } from '@/utils/message'
|
||||
import { datetimeFormat } from '@/utils/time'
|
||||
import useStore from '@/stores'
|
||||
import { WorkFlowInstanse } from '@/workflow/common/validate'
|
||||
import { WorkFlowInstance } from '@/workflow/common/validate'
|
||||
|
||||
const { application } = useStore()
|
||||
const route = useRoute()
|
||||
|
|
@ -132,7 +132,7 @@ const clickShowDebug = () => {
|
|||
?.validate()
|
||||
.then(() => {
|
||||
const graphData = getGraphData()
|
||||
const workflow = new WorkFlowInstanse(graphData)
|
||||
const workflow = new WorkFlowInstance(graphData)
|
||||
try {
|
||||
workflow.is_valid()
|
||||
getDetail()
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
import { WorkflowType } from '@/enums/workflow'
|
||||
|
||||
const end_nodes = [WorkflowType.AiChat, WorkflowType.Reply]
|
||||
export class WorkFlowInstanse {
|
||||
export class WorkFlowInstance {
|
||||
nodes
|
||||
edges
|
||||
constructor(workflow: { nodes: Array<any>; edges: Array<any> }) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue