Browse Source

系统参数配置bug处理

jingyuanchao 1 year ago
parent
commit
83c6333fa1
1 changed files with 4 additions and 2 deletions
  1. 4 2
      src/views/system/config/index.vue

+ 4 - 2
src/views/system/config/index.vue

@@ -159,7 +159,8 @@
           <el-input v-model="form.configKey" placeholder="请输入参数键名" />
         </el-form-item>
         <el-form-item label="参数键值" prop="configValue">
-          <el-input v-model="form.configValue" placeholder="请输入参数键值" />
+<!--          <el-input v-model="form.configValue" placeholder="请输入参数键值" />-->
+          <k-textarea style="width: 100%;" v-model="form.configValue" placeholder="请输入参数键值" :length="200"/>
 <!--          <Editor style="height: 150px" v-model="form.configValue" />-->
         </el-form-item>
         <el-form-item label="系统内置" prop="configType">
@@ -190,10 +191,11 @@
 <script>
 import { listConfig, getConfig, delConfig, addConfig, updateConfig, refreshCache } from "@/api/system/config";
 import Editor from "@/components/Editor/index.vue"
+import KTextarea from "@/components/common/textarea.vue";
 
 export default {
   name: "Config",
-  components: { Editor },
+  components: {KTextarea, Editor },
   dicts: ['sys_yes_no'],
   data() {
     return {