|
@@ -422,7 +422,8 @@ export default {
|
|
|
this.$prompt('请输入登录密码', '鉴别操作', {
|
|
|
confirmButtonText: '确定',
|
|
|
cancelButtonText: '取消',
|
|
|
- inputType: 'password',
|
|
|
+ inputType: 'text',
|
|
|
+ customClass:'no-autofill-pwd',
|
|
|
inputValidator: (val) => {
|
|
|
if (val === null || val.length < 1 || val.length > 20) {
|
|
|
return false;
|
|
@@ -612,7 +613,8 @@ export default {
|
|
|
this.$prompt('请输入登录密码', '鉴别操作', {
|
|
|
confirmButtonText: '确定',
|
|
|
cancelButtonText: '取消',
|
|
|
- inputType: 'password',
|
|
|
+ inputType: 'text',
|
|
|
+ customClass:'no-autofill-pwd',
|
|
|
inputValidator: (val) => {
|
|
|
if (val === null || val.length < 1 || val.length > 20) {
|
|
|
return false;
|
|
@@ -792,7 +794,8 @@ export default {
|
|
|
this.$prompt('请输入密码', '鉴别操作', {
|
|
|
confirmButtonText: '确定',
|
|
|
cancelButtonText: '取消',
|
|
|
- inputType: 'password',
|
|
|
+ inputType: 'text',
|
|
|
+ customClass:'no-autofill-pwd',
|
|
|
inputValidator: (val) => {
|
|
|
if (val === null || val.length < 1 || val.length > 20) {
|
|
|
return false;
|
|
@@ -1158,3 +1161,14 @@ export default {
|
|
|
}
|
|
|
};
|
|
|
</script>
|
|
|
+
|
|
|
+<style rel="stylesheet/scss" lang="scss">
|
|
|
+ .no-autofill-pwd{
|
|
|
+ .el-message-box__content{
|
|
|
+ .el-input__inner{
|
|
|
+ text-security:disc!important;
|
|
|
+ -webkit-text-security:disc!important;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+</style>
|