Commit 42fa8af3 authored by leiqingsong's avatar leiqingsong

修订

parent 2ca132a9
...@@ -107,7 +107,7 @@ export default { ...@@ -107,7 +107,7 @@ export default {
this.$router.push({ name: urlName }); this.$router.push({ name: urlName });
}, },
getstatus() { getstatus() {
const userId = 13933770749; const userId = this.$userId;
const _this = this; const _this = this;
getForestStatus(userId).then(res => { getForestStatus(userId).then(res => {
if (res.code === 0) { if (res.code === 0) {
......
...@@ -5,7 +5,7 @@ ...@@ -5,7 +5,7 @@
</template> </template>
<script> <script>
import { inviteCode } from "@/api/invite"; import { inviteCode } from "@/api/invite";
var userId = "13933770749"; var userId = this.$userId;
export default { export default {
data() { data() {
return { return {
......
...@@ -21,7 +21,6 @@ ...@@ -21,7 +21,6 @@
</template> </template>
<script> <script>
var userId = 13100911369;
import { getMyTeam } from "@/api/grade"; import { getMyTeam } from "@/api/grade";
export default { export default {
name: "leagueNums", name: "leagueNums",
...@@ -76,7 +75,7 @@ export default { ...@@ -76,7 +75,7 @@ export default {
}, },
methods: { methods: {
getMyTeam() { getMyTeam() {
getMyTeam(userId).then(res => { getMyTeam(this.$userId).then(res => {
if (res.data) { if (res.data) {
this.list.forEach(v => { this.list.forEach(v => {
v.num = res.data[v["field"]]; v.num = res.data[v["field"]];
......
...@@ -51,7 +51,7 @@ export default { ...@@ -51,7 +51,7 @@ export default {
fd.append("files", file.file); fd.append("files", file.file);
}); });
fd.append("zxField", this.message); fd.append("zxField", this.message);
fd.append("userId", "13100911369"); fd.append("userId", this.$userId);
uploadImage(fd).then(); uploadImage(fd).then();
}, },
openPopup() { 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