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

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

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

+ 2 - 2
src/utils/apiUrl.js

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