百度流量开关
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user