mirror of https://github.com/veops/cmdb.git
lint
This commit is contained in:
parent
a24ba8f7cd
commit
836892d909
|
@ -60,7 +60,7 @@
|
|||
</vxe-column>
|
||||
<vxe-column field="type_id" title="模型" width="150px">
|
||||
<template #default="{ row }">
|
||||
{{ row.operate_type === '删除模型' ? row.change.alias : row.type_id}}
|
||||
{{ row.operate_type === '删除模型' ? row.change.alias : row.type_id }}
|
||||
</template>
|
||||
</vxe-column>
|
||||
<vxe-column field="changeDescription" title="描述">
|
||||
|
|
|
@ -18,7 +18,11 @@
|
|||
属性说明
|
||||
</span>
|
||||
</span>
|
||||
<a-button size="small" icon="plus" type="primary" @click="$refs.create.handleOpen(true, 'create')"
|
||||
<a-button
|
||||
size="small"
|
||||
icon="plus"
|
||||
type="primary"
|
||||
@click="$refs.create.handleOpen(true, 'create')"
|
||||
>新建</a-button
|
||||
>
|
||||
</div>
|
||||
|
|
|
@ -117,7 +117,7 @@ export default {
|
|||
const loginParams = { ...values }
|
||||
delete loginParams.username
|
||||
loginParams[!state.loginType ? 'email' : 'username'] = values.username
|
||||
loginParams.password = appConfig.useEncryption?md5(values.password):values.password
|
||||
loginParams.password = appConfig.useEncryption ? md5(values.password) : values.password
|
||||
Login(loginParams)
|
||||
.then((res) => this.loginSuccess(res))
|
||||
.finally(() => {
|
||||
|
|
Loading…
Reference in New Issue