[update] binaji
This commit is contained in:
@@ -428,8 +428,7 @@ export default {
|
||||
Onchangelabel(val) {
|
||||
console.log(val,'lllll')
|
||||
// 新增
|
||||
if(this.title = '新增') {
|
||||
console.log('xinzneg')
|
||||
if(this.title === '新增') {
|
||||
let _tt = []
|
||||
val.forEach((item) => {
|
||||
_tt.push({
|
||||
@@ -442,19 +441,19 @@ export default {
|
||||
})
|
||||
this.contentList = _tt
|
||||
} else {
|
||||
// 编辑
|
||||
// 编辑 todo
|
||||
// console.log(this.contentListed,'this.contentListed')
|
||||
// let _tt = []
|
||||
// this.contentListed.forEach((item) => {
|
||||
// _tt.push({
|
||||
// textVal: item.textVal, // tab
|
||||
// val.forEach((item) => {
|
||||
// this.contentListed.push({
|
||||
// textVal: item.text, // tab
|
||||
// certCategory: item.value, // 所属认证类别
|
||||
// paramsNumber: item.paramsNumber, // 编号
|
||||
// paramsName: item.paramsName, // 参数名称
|
||||
// description: item.description// 参数说明
|
||||
// paramsNumber: '', // 编号
|
||||
// paramsName: '', // 参数名称
|
||||
// description: ''// 参数说明
|
||||
// })
|
||||
// })
|
||||
// this.contentList = _tt
|
||||
// this.contentList = this.contentListed
|
||||
// this.contentList = val
|
||||
}
|
||||
},
|
||||
Onchange() {
|
||||
|
||||
Reference in New Issue
Block a user