fix: 常规作业-新增作业-ct平台选择服务器报错
parent
93f1713875
commit
86d31ca8d7
418
pnpm-lock.yaml
418
pnpm-lock.yaml
File diff suppressed because it is too large
Load Diff
|
@ -188,7 +188,7 @@ export default defineComponent({
|
|||
...others,
|
||||
osCategory,
|
||||
pasd: pasd || (password && decrypt(password)),
|
||||
port: port || (osCategory.toUpperCase() === 'WINDOWS' ? 5986 : 22)
|
||||
port: port || (osCategory?.toUpperCase() === 'WINDOWS' ? 5986 : 22)
|
||||
}
|
||||
})
|
||||
dialogServerVisible.value = false
|
||||
|
|
|
@ -7,7 +7,7 @@ export const columns = [
|
|||
selectable(row: any) {
|
||||
const { segmentId, ip, status, osCategory } = row
|
||||
// 没有 ip,没有网络分组、非运行状态不能选择
|
||||
if (!ip || !segmentId || status !== 'RUNNING' || osCategory.toUpperCase() === 'AIX' || osCategory === 'VMware ESXi') return false
|
||||
if (!ip || !segmentId || status !== 'RUNNING' || osCategory?.toUpperCase() === 'AIX' || osCategory === 'VMware ESXi') return false
|
||||
else return true
|
||||
}
|
||||
},
|
||||
|
|
|
@ -14,7 +14,8 @@ function resolve(dir) {
|
|||
}
|
||||
const httpType = 'https://'
|
||||
// const proxyUrl = 'develop.cmp56.com:60006/' // 代理地址设置
|
||||
const proxyUrl = '23.33.3.22:60006/' // 代理地址设置
|
||||
// const proxyUrl = '23.33.3.22:60006/' // 代理地址设置
|
||||
const proxyUrl = '10.10.33.91:60006/' // 代理地址设置
|
||||
// const publicPath = process.env.NODE_ENV === 'production' ? '/cop-web/' : '/cop-web/';
|
||||
const publicPath = '/cop-web/'
|
||||
module.exports = {
|
||||
|
|
Loading…
Reference in New Issue