修改BUG

This commit is contained in:
a0049873 2022-07-28 20:12:50 +08:00
parent fabd0da877
commit 1c7bdef115
1 changed files with 3 additions and 2 deletions

View File

@ -2,7 +2,7 @@
* @Author: hisense.liangjunhua * @Author: hisense.liangjunhua
* @Date: 2022-07-08 09:54:50 * @Date: 2022-07-08 09:54:50
* @LastEditors: hisense.liangjunhua * @LastEditors: hisense.liangjunhua
* @LastEditTime: 2022-07-25 11:20:25 * @LastEditTime: 2022-07-28 20:09:53
* @Description: 多条数据特殊处理 * @Description: 多条数据特殊处理
--> -->
<template> <template>
@ -164,9 +164,10 @@ export default {
}, },
del (title, index) { del (title, index) {
this.data.splice(index, 1) this.data.splice(index, 1)
const str = this.data.length > 0 ? JSON.stringify(this.data) : ''
this.$emit('changeInfoList', { this.$emit('changeInfoList', {
attrType: title, attrType: title,
attrValue: JSON.stringify(this.data), attrValue: str,
delFlag: 0 delFlag: 0
}) })
}, },