fix
This commit is contained in:
@@ -58,6 +58,7 @@
|
||||
ref="select"
|
||||
v-model:value="editDesignType"
|
||||
:options="disignTypeList"
|
||||
:fieldNames="{ label: 'name', value: 'value' }"
|
||||
>
|
||||
<template #suffixIcon>
|
||||
<!-- <span
|
||||
@@ -235,13 +236,13 @@ export default defineComponent({
|
||||
let arr:any = []
|
||||
rv.forEach((item:any) => {
|
||||
arr.push({
|
||||
value:item.name,
|
||||
label:item.value,
|
||||
name:item.name,
|
||||
value:item.value,
|
||||
})
|
||||
});
|
||||
this.designType = arr[0]
|
||||
this.editDesignType = arr[0]
|
||||
this.disignTypeList = arr
|
||||
this.designType = rv[0]
|
||||
this.editDesignType = rv[0]
|
||||
this.disignTypeList = rv
|
||||
// this.workspaceItem.position = this.singleTypeList[0].label
|
||||
}
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user