@ -351,8 +351,11 @@ function getTreeselect() {
}
onMounted(() => {
console.log("-------------" + modelId);
getDevicemodel(modelId).then(response => {
form.value = response.data
console.log(response.data)
})
// 在组件首次加载完成后执行的逻辑
// 可以在这里给组件复制
// form.value.pid=tempPid;
@ -74,7 +74,9 @@
</el-col>
<right-toolbar v-model:showSearch="showSearch" @queryTable="getList"></right-toolbar>
</el-row>
<el-button
v-hasPermi="['model:devicemodel:add']"
>新增</el-button>
<el-table
v-if="refreshTable"
v-loading="loading"