Commit 42fa8af3 authored by leiqingsong's avatar leiqingsong

修订

parent 2ca132a9
......@@ -107,7 +107,7 @@ export default {
this.$router.push({ name: urlName });
},
getstatus() {
const userId = 13933770749;
const userId = this.$userId;
const _this = this;
getForestStatus(userId).then(res => {
if (res.code === 0) {
......
......@@ -5,7 +5,7 @@
</template>
<script>
import { inviteCode } from "@/api/invite";
var userId = "13933770749";
var userId = this.$userId;
export default {
data() {
return {
......
......@@ -21,7 +21,6 @@
</template>
<script>
var userId = 13100911369;
import { getMyTeam } from "@/api/grade";
export default {
name: "leagueNums",
......@@ -76,7 +75,7 @@ export default {
},
methods: {
getMyTeam() {
getMyTeam(userId).then(res => {
getMyTeam(this.$userId).then(res => {
if (res.data) {
this.list.forEach(v => {
v.num = res.data[v["field"]];
......
......@@ -51,7 +51,7 @@ export default {
fd.append("files", file.file);
});
fd.append("zxField", this.message);
fd.append("userId", "13100911369");
fd.append("userId", this.$userId);
uploadImage(fd).then();
},
openPopup() {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment