This commit is contained in:
huangjinming 2023-01-17 19:12:34 +08:00
parent 9e5bde826b
commit ac8acf4814
5 changed files with 18 additions and 18 deletions

View File

@ -33,7 +33,7 @@
/> />
</div> </div>
</div> </div>
<LeveStars :quality="data.detail.quality"> </LeveStars> <LevelStars :quality="data.detail.quality"> </LevelStars>
<LuckyValue <LuckyValue
:level="data.detail.gun_lv" :level="data.detail.gun_lv"
:lucky="data.detail.lucky" :lucky="data.detail.lucky"
@ -279,7 +279,7 @@
</template> </template>
<script> <script>
import LeveStars from "./LeveStars.vue"; import LevelStars from "./LevelStars.vue";
import Close from "./Close.vue"; import Close from "./Close.vue";
import WeaponMosaicChip from "./WeaponMosaicChip.vue"; import WeaponMosaicChip from "./WeaponMosaicChip.vue";
import AccountCard from "./AccountCard.vue"; import AccountCard from "./AccountCard.vue";
@ -291,7 +291,7 @@ import { CONTRACT_ADDRESS } from "@/configs/config_chain";
import ChainManager from "@/chain/ChainManager"; import ChainManager from "@/chain/ChainManager";
export default { export default {
components: { components: {
LeveStars, LevelStars,
Close, Close,
AccountCard, AccountCard,
ProgressCard, ProgressCard,

View File

@ -65,7 +65,7 @@
/> />
</div> </div>
</div> </div>
<LeveStars :quality="hero.detail.quality"> </LeveStars> <LevelStars :quality="hero.detail.quality"> </LevelStars>
<LuckyValue <LuckyValue
:level="hero.detail.hero_lv" :level="hero.detail.hero_lv"
:lucky="hero.detail.lucky" :lucky="hero.detail.lucky"
@ -323,7 +323,7 @@
</template> </template>
<script> <script>
import LeveStars from "./LeveStars.vue"; import LevelStars from "./LevelStars.vue";
import Close from "./Close.vue"; import Close from "./Close.vue";
import AccountCard from "./AccountCard.vue"; import AccountCard from "./AccountCard.vue";
import ProgressCard from "./ProgressCard.vue"; import ProgressCard from "./ProgressCard.vue";
@ -336,7 +336,7 @@ import ChainManager from "@/chain/ChainManager";
export default { export default {
props: ["dialogVisible", "hero", "isType"], props: ["dialogVisible", "hero", "isType"],
components: { components: {
LeveStars, LevelStars,
Close, Close,
AccountCard, AccountCard,
ProgressCard, ProgressCard,

View File

@ -488,10 +488,10 @@ export default class Market extends Vue {
let list = this.jobList.filter((item) => { let list = this.jobList.filter((item) => {
return item.jobType == true; return item.jobType == true;
}); });
let arry = list.map((item) => { let array = list.map((item) => {
return item.id; return item.id;
}); });
let newArray = arry.map(function (index) { let newArray = array.map(function (index) {
return index + 1; return index + 1;
}); });
this.jobFilters = newArray.join("|"); this.jobFilters = newArray.join("|");
@ -503,10 +503,10 @@ export default class Market extends Vue {
let list = this.pieceList.filter((item) => { let list = this.pieceList.filter((item) => {
return item.jobType == true; return item.jobType == true;
}); });
let arry = list.map((item) => { let array = list.map((item) => {
return item.id; return item.id;
}); });
let newArray = arry.map(function (index) { let newArray = array.map(function (index) {
return index + 1; return index + 1;
}); });
this.jobFilters = newArray.join("|"); this.jobFilters = newArray.join("|");
@ -518,10 +518,10 @@ export default class Market extends Vue {
let list = this.chipList.filter((item) => { let list = this.chipList.filter((item) => {
return item.jobType == true; return item.jobType == true;
}); });
let arry = list.map((item) => { let array = list.map((item) => {
return item.id; return item.id;
}); });
let newArray = arry.map(function (index) { let newArray = array.map(function (index) {
return index + 1; return index + 1;
}); });
this.jobFilters = newArray.join("|"); this.jobFilters = newArray.join("|");

View File

@ -528,10 +528,10 @@ export default class MyNft extends Vue {
let list = this.jobList.filter((item) => { let list = this.jobList.filter((item) => {
return item.jobType == true; return item.jobType == true;
}); });
let arry = list.map((item) => { let array = list.map((item) => {
return item.id; return item.id;
}); });
let newArray = arry.map(function (index) { let newArray = array.map(function (index) {
return index + 1; return index + 1;
}); });
this.jobFilters = newArray.join("|"); this.jobFilters = newArray.join("|");
@ -543,10 +543,10 @@ export default class MyNft extends Vue {
let list = this.pieceList.filter((item) => { let list = this.pieceList.filter((item) => {
return item.jobType == true; return item.jobType == true;
}); });
let arry = list.map((item) => { let array = list.map((item) => {
return item.id; return item.id;
}); });
let newArray = arry.map(function (index) { let newArray = array.map(function (index) {
return index + 1; return index + 1;
}); });
this.jobFilters = newArray.join("|"); this.jobFilters = newArray.join("|");
@ -558,10 +558,10 @@ export default class MyNft extends Vue {
let list = this.chipList.filter((item) => { let list = this.chipList.filter((item) => {
return item.jobType == true; return item.jobType == true;
}); });
let arry = list.map((item) => { let array = list.map((item) => {
return item.id; return item.id;
}); });
let newArray = arry.map(function (index) { let newArray = array.map(function (index) {
return index + 1; return index + 1;
}); });
this.jobFilters = newArray.join("|"); this.jobFilters = newArray.join("|");