迁移saas版首页应用进入产品库

This commit is contained in:
aixianling
2022-08-08 15:39:13 +08:00
parent 55cbd9c60c
commit 1f4081e2bb

View File

@@ -57,12 +57,18 @@
</ai-table>
</template>
<template v-else-if="form.type=='wxwork'">
<el-form-item label="接口是否单服务">
<el-checkbox v-model="form.isSingleService"/>
</el-form-item>
<el-form-item label="默认首页">
<el-input v-model="form.homePage" clearable placeholder="默认首页"/>
</el-form-item>
<el-row type="flex">
<div class="fill">
<el-form-item label="接口是否单服务">
<el-checkbox v-model="form.isSingleService"/>
</el-form-item>
</div>
<div class="fill">
<el-form-item label="默认首页">
<el-input v-model="form.homePage" clearable placeholder="填写应用的文件名"/>
</el-form-item>
</div>
</el-row>
</template>
</template>
</ai-card>
@@ -164,7 +170,7 @@ export default {
const {tabBar, form: {type, appId, isSingleService, homePage}} = this
if (type == 'mp') {
this.form.extra = {tabBar, appId}
} else if (v == 'wxwork') {
} else if (type == 'wxwork') {
this.form.extra = {isSingleService, homePage}
}
this.instance.post("/node/custom/addOrUpdate", this.form).then(res => {