Browse Source

处理应用样式

yangg 8 months ago
parent
commit
c9eb59a584

File diff suppressed because it is too large
+ 0 - 0
dist/index.html


File diff suppressed because it is too large
+ 0 - 0
dist/static/css/app.15433fd9.css


File diff suppressed because it is too large
+ 0 - 0
dist/static/js/app.1c4c5710.js


File diff suppressed because it is too large
+ 0 - 0
dist/static/js/chunk-libs.9d4c80ac.js


+ 2 - 8
src/components/webAi/index.vue

@@ -318,10 +318,7 @@
                 <div class="hint">为AI助手设定一个角色名称</div>
               </el-form-item>
             </el-col>
-          </el-row>
-
-          <el-row :gutter="24">
-            <el-col :span="24">
+            <el-col :span="12">
               <el-form-item label="角色描述:" prop="role_description">
                 <el-input
                   v-model="AIform.role_description"
@@ -895,10 +892,7 @@
               <div class="hint">为AI助手设定一个角色名称</div>
             </el-form-item>
           </el-col>
-        </el-row>
-
-        <el-row :gutter="24">
-          <el-col :span="24">
+          <el-col :span="12">
             <el-form-item label="角色描述:" prop="role_description">
               <el-input
                 v-model="editForm.role_description"

+ 3 - 3
src/components/webAi/js/ChatBox.js

@@ -123,7 +123,7 @@ export default {
         role_name: "Admin",
         role_description: "",
         role_permissions:"['read', 'write', 'delete']",
-        custom_variables:'',
+        custom_variables:"",
         custom_prompt:'',
         application_type: "",
         is_default: false,
@@ -219,7 +219,7 @@ export default {
         role_name: "Admin",
         role_description: "",
         role_permissions: "['read', 'write', 'delete']",
-        custom_variables:'',
+        custom_variables:"",
         custom_prompt:'',
         application_type: "",
         is_default: false,
@@ -337,7 +337,7 @@ export default {
       if (this.editForm.custom_variables) {
         this.editForm.custom_variables = JSON.stringify(this.editForm.custom_variables);     
       } else {
-        this.editForm.custom_variables = {};
+        this.editForm.custom_variables = "";
       }
       this.editDialogVisible = true;
       console.log(this.editForm);

Some files were not shown because too many files changed in this diff