企微H5增加自定义登录开关
This commit is contained in:
		| @@ -145,6 +145,9 @@ | ||||
|                         <el-form-item label="是否启用水印"> | ||||
|                           <el-checkbox v-model="form.waterMarker"/> | ||||
|                         </el-form-item> | ||||
|                         <el-form-item label="自定义登录"> | ||||
|                           <el-checkbox v-model="form.customLogin"/> | ||||
|                         </el-form-item> | ||||
|                       </div> | ||||
|                       <div class="fill"> | ||||
|                         <el-form-item label="默认首页"> | ||||
| @@ -290,7 +293,22 @@ export default { | ||||
|         if (v) { | ||||
|           const { | ||||
|             tabBar, | ||||
|             form: {type, appId, embeddedAppIdList, isSingleService, homePage, hmt, dv, downloadCenter, showTool, helpDoc, customerService, sysInfo, appQRCode} | ||||
|             form: { | ||||
|               type, | ||||
|               appId, | ||||
|               embeddedAppIdList, | ||||
|               isSingleService, | ||||
|               homePage, | ||||
|               hmt, | ||||
|               dv, | ||||
|               downloadCenter, | ||||
|               showTool, | ||||
|               helpDoc, | ||||
|               customerService, | ||||
|               sysInfo, | ||||
|               appQRCode, | ||||
|               customLogin | ||||
|             } | ||||
|           } = this | ||||
|           if (type == 'mp') { | ||||
|             this.form.extra = {tabBar, appId, embeddedAppIdList, isSingleService} | ||||
| @@ -299,7 +317,7 @@ export default { | ||||
|             sysInfo.desc = JSON.parse(desc || null) | ||||
|             this.form.extra = {isSingleService, homePage, hmt, dv, downloadCenter, showTool, helpDoc, customerService, sysInfo, appQRCode} | ||||
|           } else if (type == 'wxwork') { | ||||
|             this.form.extra = {isSingleService, homePage, hmt} | ||||
|             this.form.extra = {isSingleService, homePage, hmt, customLogin} | ||||
|           } | ||||
|           this.instance.post("/node/custom/addOrUpdate", this.form).then(res => { | ||||
|             if (res?.code == 0) { | ||||
|   | ||||
		Reference in New Issue
	
	Block a user