1、select 下拉框数据
$effect(() => {
$request("/dictionary/listDictionaryByCondition", {
method: "post",
data: {
dictionaryTypeCode: "SYS_BASE_DATA_AGGREGATE_TYPE" },
}).then((res) => {
$self.dataSource = res.data?.map((x) => ({
label: x.name, value: x.code }))
})
},