copilot助手增加埋点

This commit is contained in:
aixianling
2024-06-17 16:04:46 +08:00
parent aded396bd1
commit 8c9db36978

View File

@@ -189,6 +189,9 @@
<el-form-item label="默认首页"> <el-form-item label="默认首页">
<el-input v-model="form.homePage" clearable placeholder="填写应用的文件名"/> <el-input v-model="form.homePage" clearable placeholder="填写应用的文件名"/>
</el-form-item> </el-form-item>
<el-form-item label="是否加载AI助手">
<el-checkbox v-model="form.copilot"/>
</el-form-item>
</div> </div>
<div class="fill"> <div class="fill">
<el-form-item label="域名根目录"> <el-form-item label="域名根目录">
@@ -328,7 +331,8 @@ export default {
appQRCode, appQRCode,
customLogin, customLogin,
base, base,
guide guide,
copilot
} }
} = this } = this
if (type == 'mp') { if (type == 'mp') {
@@ -337,7 +341,7 @@ export default {
const {desc} = sysInfo const {desc} = sysInfo
sysInfo.desc = JSON.parse(desc || null) sysInfo.desc = JSON.parse(desc || null)
sysInfo.ssl = sysInfo.ssl?.replace(/"/g, "'") sysInfo.ssl = sysInfo.ssl?.replace(/"/g, "'")
this.form.extra = {isSingleService, homePage, hmt, dv, downloadCenter, showTool, helpDoc, customerService, sysInfo, appQRCode, base} this.form.extra = {isSingleService, homePage, hmt, dv, downloadCenter, showTool, helpDoc, customerService, sysInfo, appQRCode, base, copilot}
} else if (type == 'wxwork') { } else if (type == 'wxwork') {
this.form.extra = {isSingleService, homePage, hmt, customLogin, base} this.form.extra = {isSingleService, homePage, hmt, customLogin, base}
} }