lilinfeng 3 months ago
parent
commit
c2bc474539

+ 3 - 0
src/components/Generator/index/RightComponents/CGroup.vue

@@ -73,6 +73,9 @@
             <jnpf-select v-model="activeData.__config__.defaultValue" placeholder="请选择默认值"
                 :options="activeData.options" :props="activeData.props" clearable />
         </el-form-item>
+        <el-form-item label="是否多选">
+            <el-switch v-model="activeData.multiple"></el-switch>
+        </el-form-item>
         <el-divider />
         <div>
             <el-dialog :visible.sync="dicVisible" append-to-body

+ 4 - 0
src/components/Generator/index/RightComponents/CMember.vue

@@ -119,6 +119,10 @@
                     </el-option>
                 </el-select>
             </el-form-item>
+
+            <el-form-item label="是否多选">
+                <el-switch v-model="activeData.multiple"></el-switch>
+            </el-form-item>
             <el-divider />
         </template>
 

+ 2 - 2
src/utils/apiUrl.js

@@ -1,9 +1,9 @@
 module.exports = {
   // 开发环境接口配置
   // APIURl: "http://localhost:30000"
-  // APIURl: "http://10.21.12.137:30000",
+  APIURl: "http://10.21.12.137:30000",
   // APIURl: "http://192.168.103.104:58080",
-  APIURl: "https://test.api.shidaiyun.net",
+  // APIURl: "https://test.api.shidaiyun.net",
   // APIURl: "https://api.shidaiyun.net",
   minioPath: process.env.NODE_ENV === 'development' ? 'https://oss.shidaiyun.net/' : 'http://192.168.103.105:18000/'
   // minioPath: 'https://oss.shidaiyun.net/'