百度流量开关
This commit is contained in:
@@ -190,13 +190,13 @@ export default {
|
|||||||
submit() {
|
submit() {
|
||||||
this.$refs.AddForm.validate(v => {
|
this.$refs.AddForm.validate(v => {
|
||||||
if (v) {
|
if (v) {
|
||||||
const {tabBar, form: {type, appId, isSingleService, homePage}} = this
|
const {tabBar, form: {type, appId, isSingleService, homePage, hmt}} = this
|
||||||
if (type == 'mp') {
|
if (type == 'mp') {
|
||||||
this.form.extra = {tabBar, appId}
|
this.form.extra = {tabBar, appId}
|
||||||
} else if (type == 'web') {
|
} else if (type == 'web') {
|
||||||
this.form.extra = {isSingleService, homePage}
|
this.form.extra = {isSingleService, homePage, hmt}
|
||||||
} else if (type == 'wxwork') {
|
} 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 => {
|
this.instance.post("/node/custom/addOrUpdate", this.form).then(res => {
|
||||||
if (res?.code == 0) {
|
if (res?.code == 0) {
|
||||||
|
|||||||
Reference in New Issue
Block a user