Update PopupLists and policyList components for improved functionality
- Changed key generation in PopupLists to ensure unique keys for items. - Adjusted validation condition in policyList to require at least 2 items instead of 3 for processing.
This commit is contained in:
@@ -244,7 +244,7 @@ export default {
|
||||
watch: {
|
||||
"checkData": {
|
||||
handler(newVal) {
|
||||
if (!newVal || newVal.length < 3 || !this.policyTypeMList.length) return;
|
||||
if (!newVal || newVal.length < 2 || !this.policyTypeMList.length) return;
|
||||
const typeL = newVal[0].data[newVal[0].activeIndex].dictValue;
|
||||
|
||||
// 政策类型不选时,不显示二级分类
|
||||
|
||||
Reference in New Issue
Block a user