We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d3f38c6 commit 3f57039Copy full SHA for 3f57039
src/views/mall/product/spu/form/ProductAttributes.vue
@@ -74,7 +74,7 @@ const inputRef = ref<any[]>([]) //标签输入框Ref
74
const setInputRef = (el: any) => {
75
if (el === null || typeof el === 'undefined') return
76
// 如果不存在 id 相同的元素才添加
77
- if (!inputRef.value.some((item) => item.input?.attributes.id === el.input?.attributes.id)) {
+ if (!inputRef.value.some((item) => item.inputRef?.attributes.id === el.inputRef?.attributes.id)) {
78
inputRef.value.push(el)
79
}
80
0 commit comments