分类预测 | Matlab实现ZOA-SVM斑马算法优化支持向量机的多变量输入数据分类预测

倚然君

关注

阅读 26

2024-05-26

父组件
在这里插入图片描述

子组件接收并使用:
在这里插入图片描述
const props = defineProps({
diseaseCode: {
type: String,
required: true,
},
});

另外可用watch监听变化
在这里插入图片描述
watch(
() => props.diseaseCode,
(val) => {
nextTick(() => {
getData();
});
}
);

深拷贝时加上 { deep: true, immediate: true }

精彩评论(0)

0 0 举报