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