智慧工地前端
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
smart-factory/web/docs/components/method/setObjectValue.md

481 B

setObjectValue 动态数组赋值(object)

//向动态组件中填充值
import { getCurrentInstance } from "vue";
const { proxy } = getCurrentInstance();
proxy.$util.setObjectValue(source, arg);

参数

名称 描述 必填 默认值 类型
source 待赋值的数据源 Array
arg 取值的数据源 Object