Commit 672cc891 by 李伟康

切换到开发mock

1 parent f0cdb30a
...@@ -19,8 +19,8 @@ export const fetchConfig = function(isEnv = true) { ...@@ -19,8 +19,8 @@ export const fetchConfig = function(isEnv = true) {
// return Promise.resolve(cfg) // return Promise.resolve(cfg)
// } // }
//return window.fetch('https://', {}).then(res => res.json()) //return window.fetch('https://', {}).then(res => res.json())
// return new Http().get('https://oss-config.dev.glsx.com.cn/mock/6345096902322627d6b83e83/battles/config') return new Http().get('https://oss-config.dev.glsx.com.cn/mock/6345096902322627d6b83e83/battles/config')
return new Http().get('https://oss-config.glsx.com.cn/mock/635fc7a254298ae78614407a/battles/config') // return new Http().get('https://oss-config.glsx.com.cn/mock/635fc7a254298ae78614407a/battles/config')
} }
export const config = { export const config = {
install(vue, cfg) { install(vue, cfg) {
......
...@@ -2263,7 +2263,7 @@ export default { ...@@ -2263,7 +2263,7 @@ export default {
this.editForm.fictitiousViewQuantity = limitPrice(newValue, oldValue, 7, 0, 0) this.editForm.fictitiousViewQuantity = limitPrice(newValue, oldValue, 7, 0, 0)
}, },
'editForm.liveBroadcastMediaId' (newValue, oldValue) { 'editForm.liveBroadcastMediaId' (newValue, oldValue) {
this.liveEditFormData_2[0].optionList.map(e => { this.liveEditFormData_2.find(item => item.name == 'liveBroadcastMediaId').optionList.map(e => {
if (newValue) { if (newValue) {
if (e.value == newValue) { if (e.value == newValue) {
this.editForm.liveBroadcastRoomCover = e.coverUrl this.editForm.liveBroadcastRoomCover = e.coverUrl
...@@ -2298,6 +2298,9 @@ export default { ...@@ -2298,6 +2298,9 @@ export default {
}, },
'editForm.activityActionReport.signMerchantProduceCount' (newValue, oldValue) { 'editForm.activityActionReport.signMerchantProduceCount' (newValue, oldValue) {
this.editForm.activityActionReport.signMerchantProduceCount = limitPrice(newValue, oldValue, 99999, 2, 0) this.editForm.activityActionReport.signMerchantProduceCount = limitPrice(newValue, oldValue, 99999, 2, 0)
},
'liveVideoVisible' (newValue, oldVal) {
if (!newValue) this.hideVideo()
} }
}, },
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!