Selaa lähdekoodia

add flow node workflows

tycoding 1 vuosi sitten
vanhempi
commit
02be3c6150

+ 3 - 3
langchat-ui/src/views/flow/coding.vue

@@ -46,7 +46,7 @@
 </template>
 
 <style scoped lang="less">
-::v-deep(.cm-focused) {
-  outline: none !important;
-}
+  ::v-deep(.cm-focused) {
+    outline: none !important;
+  }
 </style>

+ 2 - 5
langchat-ui/src/views/flow/custom/CustomExec.vue

@@ -151,15 +151,12 @@
       </div>
     </div>
 
-    <div class="bottom absolute bottom-0 left-0 w-full h-[60px] z-10">
+    <div class="bottom absolute bottom-4 left-0 w-full h-[60px] z-10">
       <div class="pl-5 pr-5 flex justify-center items-center space-x-2 w-full">
         <n-input
           @focus="handleFocus"
           v-model:value="content"
-          type="textarea"
-          size="small"
-          class="w-full rounded-lg text-xs"
-          :autosize="{ minRows: 2, maxRows: 5 }"
+          class="w-full rounded-2xl px-1 py-0.5 text-xs"
           :disabled="loading"
           @keypress="handleEnter"
         >

+ 1 - 1
langchat-ui/src/views/flow/node/CodeNode.vue

@@ -14,7 +14,7 @@
 <template>
   <NodeLayout :node="node">
     <template #content>
-      <div class="">
+      <div class="rounded overflow-hidden">
         <codemirror
           v-model="code"
           placeholder="Code goes here..."