调整样式,兼容手机浏览器页面
This commit is contained in:
@@ -7,10 +7,11 @@
|
||||
:confirm-loading="confirmLoading"
|
||||
:getContainer="() => $refs.container"
|
||||
:maskStyle="{'top':'93px','left':'154px'}"
|
||||
:wrapClassName="wrapClassNameInfo()"
|
||||
:mask="isDesktop()"
|
||||
:maskClosable="false"
|
||||
@cancel="handleCancel"
|
||||
wrapClassName="ant-modal-cust-warp"
|
||||
style="top:20%;height: 45%;overflow-y: hidden">
|
||||
style="top:20%;height: 45%;">
|
||||
<template slot="footer">
|
||||
<a-button key="back" @click="handleCancel">取消</a-button>
|
||||
</template>
|
||||
@@ -39,9 +40,10 @@
|
||||
|
||||
<script>
|
||||
import { JeecgListMixin } from '@/mixins/JeecgListMixin'
|
||||
import {mixinDevice} from '@/utils/mixin'
|
||||
export default {
|
||||
name: 'ImportFileModal',
|
||||
mixins:[JeecgListMixin],
|
||||
mixins:[JeecgListMixin, mixinDevice],
|
||||
data () {
|
||||
return {
|
||||
title:"",
|
||||
|
||||
@@ -59,7 +59,7 @@
|
||||
<span class="action">
|
||||
<a class="logout_title" href="javascript:;" @click="handleLogout">
|
||||
<a-icon type="logout"/>
|
||||
<span v-if="isDesktop()"> 退出登录</span>
|
||||
<span> 退出登录</span>
|
||||
</a>
|
||||
</span>
|
||||
<user-password ref="userPassword"></user-password>
|
||||
@@ -186,7 +186,9 @@
|
||||
}
|
||||
},
|
||||
filterOption(input, option) {
|
||||
return option.componentOptions.children[0].text.toLowerCase().indexOf(input.toLowerCase()) >= 0
|
||||
if(option && option.componentOptions && option.componentOptions.children && option.componentOptions.children[0]) {
|
||||
return option.componentOptions.children[0].text.toLowerCase().indexOf(input.toLowerCase()) >= 0
|
||||
}
|
||||
},
|
||||
// update_begin author:sunjianlei date:20191230 for: 解决外部链接打开失败的问题
|
||||
searchMethods(value) {
|
||||
|
||||
@@ -7,12 +7,13 @@
|
||||
:confirmLoading="confirmLoading"
|
||||
:getContainer="() => $refs.container"
|
||||
:maskStyle="{'top':'93px','left':'154px'}"
|
||||
:wrapClassName="wrapClassNameInfo()"
|
||||
:mask="isDesktop()"
|
||||
:maskClosable="false"
|
||||
@ok="handleOk"
|
||||
@cancel="handleCancel"
|
||||
cancelText="关闭"
|
||||
wrapClassName="ant-modal-cust-warp"
|
||||
style="top:20%;height: 50%;overflow-y: hidden">
|
||||
style="top:20%;height: 50%;">
|
||||
<a-spin :spinning="confirmLoading">
|
||||
<a-form :form="form">
|
||||
<a-form-item label="旧密码" :labelCol="labelCol" :wrapperCol="wrapperCol">
|
||||
@@ -32,9 +33,11 @@
|
||||
|
||||
<script>
|
||||
import { putAction } from '@/api/manage'
|
||||
import {mixinDevice} from '@/utils/mixin'
|
||||
import md5 from 'md5'
|
||||
export default {
|
||||
name: "UserPassword",
|
||||
mixins: [mixinDevice],
|
||||
data () {
|
||||
return {
|
||||
title:"修改密码",
|
||||
|
||||
Reference in New Issue
Block a user