Commit 688acbbf by caoyanzhi

update: 新建分组

parent c36a67b8
......@@ -107,7 +107,7 @@
<div class="form-item">
<div class="label-title">更新频次<span class="desc-labeltxt">{{ updateTypeDesc() }}</span></div>
<el-select v-model="ruleForm.updateType" placeholder="请选择" disabled style="width: 100%">
<el-option v-for="(item, index) in rateData" :key="item.label" :label="item.label" :value="index + 1"></el-option>
<el-option v-for="item in rateData" :key="item.label" :label="item.label" :value="item.value"></el-option>
</el-select>
</div>
</el-form-item>
......@@ -798,13 +798,13 @@ export default {
watchUpdateType(isActive, fixedType) {
console.log(isActive, fixedType)
if (isActive && !fixedType) {
return 1;
return 0;
} else if (!isActive && !fixedType) {
return 2;
return 1;
} else if (!isActive && fixedType) {
return 3;
return 2;
} else if (isActive && fixedType) {
return 4;
return 3;
}
},
checkGroup() {
......
......@@ -169,7 +169,7 @@
<div class="form-item">
<label for="">更新频次<span class="desc-labeltxt">{{ updateTypeDesc() }}</span></label>
<el-select v-model="tagConfig.updateType" placeholder="请选择" disabled>
<el-option v-for="(item, index) in rateData" :key="item.label" :label="item.label" :value="index + 1"></el-option>
<el-option v-for="item in rateData" :key="item.label" :label="item.label" :value="item.value"></el-option>
</el-select>
</div>
<div class="form-item">
......@@ -826,13 +826,13 @@ export default {
},
watchUpdateType(isRealTime, fixedType) {
if (isRealTime && !fixedType) {
return 1;
return 0;
} else if (!isRealTime && !fixedType) {
return 2;
return 1;
} else if (!isRealTime && fixedType) {
return 3;
return 2;
} else if (isRealTime && fixedType) {
return 4;
return 3;
}
}
},
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment