添加行静态地址bug修改
This commit is contained in:
parent
2d4294e049
commit
97803e601e
|
@ -94,6 +94,7 @@
|
|||
</el-table-column>
|
||||
</el-table>
|
||||
</div>
|
||||
|
||||
<!-- <p style="margin-top: 10px" class="title">DHCP</p>
|
||||
<el-form-item label="启用:">
|
||||
<el-col :span="2" style="diaplay: flex">
|
||||
|
@ -137,6 +138,7 @@
|
|||
<el-button type="primary" size="small" @click="commit()">保存</el-button>
|
||||
</el-col>
|
||||
</el-form-item> -->
|
||||
<div v-show="dhcp4">
|
||||
<p class="title">默认网关</p>
|
||||
<el-form-item label="默认网关:" prop="gateway4" class="formItem">
|
||||
<el-col :span="6">
|
||||
|
@ -234,6 +236,7 @@
|
|||
</template>
|
||||
</el-table-column>
|
||||
</el-table>
|
||||
</div>
|
||||
<!-- <el-form-item >
|
||||
<el-col :span="6"> -->
|
||||
<el-button type="primary" @click="commit(sizeForm.tableRouter,sizeForm.tableData,sizeForm.tableDataDNS,sizeForm)" style="margin-top:10px" v-if="!disable">保存</el-button>
|
||||
|
@ -688,6 +691,8 @@ export default {
|
|||
}
|
||||
// this.sizeForm.tableData.splice(this.sizeForm.tableData.length-1, 0, newObj);
|
||||
this.sizeForm.tableData.splice(this.sizeForm.tableData.length, 0, newObj);
|
||||
}else {
|
||||
this.sizeForm.tableData.push({address:''});
|
||||
}
|
||||
},
|
||||
deleteRowsTableData(scope){
|
||||
|
|
Loading…
Reference in New Issue