百度流量开关

This commit is contained in:
aixianling
2022-08-24 14:44:26 +08:00
parent d8fcd77b4f
commit 100d75fec0

View File

@@ -190,13 +190,13 @@ export default {
submit() {
this.$refs.AddForm.validate(v => {
if (v) {
const {tabBar, form: {type, appId, isSingleService, homePage}} = this
const {tabBar, form: {type, appId, isSingleService, homePage, hmt}} = this
if (type == 'mp') {
this.form.extra = {tabBar, appId}
} else if (type == 'web') {
this.form.extra = {isSingleService, homePage}
this.form.extra = {isSingleService, homePage, hmt}
} else if (type == 'wxwork') {
this.form.extra = {isSingleService, homePage}
this.form.extra = {isSingleService, homePage, hmt}
}
this.instance.post("/node/custom/addOrUpdate", this.form).then(res => {
if (res?.code == 0) {