| | |
| | | let res = {}; |
| | | try { |
| | | res = await unbind({ |
| | | ids: [this.id], |
| | | id: this.id, |
| | | password: this.password, |
| | | username: JSON.parse(sessionStorage.getItem("userInfo")).username, |
| | | userId: JSON.parse(sessionStorage.getItem("userInfo")).id, |
| | | }); |
| | | } catch (err) { |
| | | this.$notify({ |
| | |
| | | duration: 2500, |
| | | offset: 57, |
| | | }); |
| | | this.$emit("close"); |
| | | this.$emit("reflash"); |
| | | } else { |
| | | this.$notify({ |
| | | type: "error", |
| | |
| | | |
| | | .btns { |
| | | display: flex; |
| | | justify-content: end; |
| | | justify-content: flex-end; |
| | | text-align: center; |
| | | line-height: 40px; |
| | | |
| | |
| | | position: absolute; |
| | | top: 10px; |
| | | right: 10px; |
| | | font-size: 12px; |
| | | font-size: 1px; |
| | | color: 187, 187, 187; |
| | | cursor: pointer; |
| | | } |