去掉多余的api地址

This commit is contained in:
季圣华
2022-08-07 23:37:04 +08:00
parent 96b4426560
commit fe6682bd32
5 changed files with 1 additions and 232 deletions

View File

@@ -84,7 +84,6 @@
<script>
import {mixinDevice} from '@/utils/mixin.js'
import {getAction, postAction} from '@/api/manage'
import {checkOnlyUser} from '@/api/api'
import md5 from 'md5'
const levelNames = {
@@ -212,19 +211,6 @@
callback()
},
handlePhoneCheck(rule, value, callback) {
var params = {
phone: value,
};
checkOnlyUser(params).then((res) => {
if (res.success) {
callback()
} else {
callback("手机号已存在!")
}
})
},
handlePasswordInputClick() {
if (!this.isMobile()) {
this.state.passwordLevelChecked = true