mirror of
https://github.com/jeecgboot/JeecgBoot.git
synced 2026-02-03 00:55:33 +08:00
v3.9.0 里程碑版本发布
This commit is contained in:
@ -25,9 +25,8 @@
|
||||
},
|
||||
setup(props) {
|
||||
const instance = getCurrentInstance();
|
||||
// update-begin--author:liaozhiyang---date:20240717---for:【issues/6855】组件使用key作props报警告,改为itemKey
|
||||
// 代码逻辑说明: 【issues/6855】组件使用key作props报警告,改为itemKey
|
||||
const itemKey = computed(() => props.itemKey || instance?.vnode?.props?.itemKey);
|
||||
// update-end--author:liaozhiyang---date:20240717---for:【issues/6855】组件使用key作props报警告,改为itemKey
|
||||
return { itemKey };
|
||||
},
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user