mirror of
https://gitee.com/dromara/go-view.git
synced 2025-06-30 00:29:16 +08:00
fix: 修复禅道bug
This commit is contained in:
parent
33a36f3aad
commit
abccd32968
@ -5,14 +5,12 @@
|
||||
</n-space>
|
||||
</setting-item-box>
|
||||
<setting-item-box name="空间ID" :alone="true">
|
||||
<n-space justify="start">
|
||||
<n-input
|
||||
v-model:value="currentObj.space_complete_id"
|
||||
size="small"
|
||||
placeholder="请输入空间ID"
|
||||
clearable
|
||||
/>
|
||||
</n-space>
|
||||
<n-input
|
||||
v-model:value="currentObj.space_complete_id"
|
||||
size="small"
|
||||
placeholder="请输入空间ID"
|
||||
clearable
|
||||
/>
|
||||
</setting-item-box>
|
||||
</template>
|
||||
|
||||
|
@ -46,13 +46,13 @@ type computeIdsItemType = {
|
||||
const originStore = useOriginStore()
|
||||
|
||||
const systemConstant = originStore.getOriginStore?.user?.systemConstant
|
||||
let options2
|
||||
type ItemType = {
|
||||
label: string,
|
||||
value: string,
|
||||
remark: string
|
||||
}
|
||||
let options2: ItemType[] = []
|
||||
if(systemConstant.warn_levels) {
|
||||
type ItemType = {
|
||||
label: string,
|
||||
value: string,
|
||||
remark: string
|
||||
}
|
||||
options2 = systemConstant['warn_levels'].filter((item: ItemType) => item.value !== '').map((item: any) => {
|
||||
return { label: item.label, value: Number(item.value), remark: item.remark }
|
||||
})
|
||||
|
Loading…
x
Reference in New Issue
Block a user