小程序配置中追加半屏小程序兼容2.23版本一下设置
This commit is contained in:
		| @@ -104,6 +104,9 @@ | ||||
|                     <el-form-item label="小程序AppId"> | ||||
|                       <el-input v-model="form.appId" clearable placeholder="小程序appId"/> | ||||
|                     </el-form-item> | ||||
|                     <el-form-item label="半屏小程序"> | ||||
|                       <el-input v-model="form.embeddedAppIdList" clearable placeholder="如果有多个,请用英文','分割"/> | ||||
|                     </el-form-item> | ||||
|                     <ai-title title="底部导航栏"/> | ||||
|                     <ai-table :tableData="tabBar.list" :colConfigs="colConfigs" tableSize="mini" :isShowPagination="false" border> | ||||
|                       <el-table-column slot="options" label="操作" width="80" align="center"> | ||||
| @@ -258,9 +261,12 @@ export default { | ||||
|     submit() { | ||||
|       this.$refs.AddForm.validate(v => { | ||||
|         if (v) { | ||||
|           const {tabBar, form: {type, appId, isSingleService, homePage, hmt, dv, downloadCenter, showTool, helpDoc, customerService, sysInfo, appQRCode}} = this | ||||
|           const { | ||||
|             tabBar, | ||||
|             form: {type, appId, embeddedAppIdList, isSingleService, homePage, hmt, dv, downloadCenter, showTool, helpDoc, customerService, sysInfo, appQRCode} | ||||
|           } = this | ||||
|           if (type == 'mp') { | ||||
|             this.form.extra = {tabBar, appId} | ||||
|             this.form.extra = {tabBar, appId, embeddedAppIdList} | ||||
|           } else if (type == 'web') { | ||||
|             const {desc} = sysInfo | ||||
|             sysInfo.desc = JSON.parse(desc || null) | ||||
|   | ||||
		Reference in New Issue
	
	Block a user