|
@@ -124,7 +124,7 @@ export default {
|
|
|
for(let i = 0;i < tmpScale.length;i++){
|
|
|
tmpScale[i].val = tmpScale[i].type
|
|
|
tmpScale[i].order = tmpScale[i].orderNo
|
|
|
- tmpScale[i].name = tmpScale[i].type == 1?'文本模块':'推送模块'
|
|
|
+ tmpScale[i].name = tmpScale[i].type == 0?'文本模块':'推送模块'
|
|
|
}
|
|
|
this.contentPool = tmpScale
|
|
|
}
|
|
@@ -137,9 +137,9 @@ export default {
|
|
|
if(JSON.stringify(tmpLeft) == '{}'){
|
|
|
return
|
|
|
}
|
|
|
- if(tmpLeft.val == 2){
|
|
|
+ if(tmpLeft.val == 1){
|
|
|
for(let i = 0;i < tmpPool.length;i++){
|
|
|
- if(tmpPool[i].val == 2){
|
|
|
+ if(tmpPool[i].val == 1){
|
|
|
// this.$message({
|
|
|
// message: '推送模块只能添加一次',
|
|
|
// type: 'warning'
|