|
@@ -48,11 +48,6 @@ export default {
|
|
|
async searchInfo() {
|
|
|
if (this.user.role == '4' || this.user.role == '5' || this.user.role == '7') {
|
|
|
let res = await this.fetch(this.user.userid);
|
|
|
- if (this.user.userid) {
|
|
|
- let res = await this.fetch(this.user.userid);
|
|
|
- } else {
|
|
|
- let res = await this.fetch(this.user.uid);
|
|
|
- }
|
|
|
if (res.errcode === 0) {
|
|
|
this.$set(this, `form`, res.data);
|
|
|
}
|