登录方式重构

This commit is contained in:
Aaron
2021-07-19 19:37:35 +08:00
parent 79305d7497
commit b196b5237d
21 changed files with 858 additions and 323 deletions

View File

@ -18,22 +18,21 @@
name: "Poster",
components: {},
props: {},
data: function () {
data () {
return {
status: true,
id: 0,
image: ""
};
},
mounted: function () {
var that = this;
var id = that.$yroute.query.id;
var type = that.$yroute.query.type;
that.id = id;
mounted () {
var id = this.$yroute.query.id;
var type = this.$yroute.query.type;
this.id = id;
if (type == 2) {
that.getBargainPoster();
this.getBargainPoster();
} else {
that.getCombinationPoster();
this.getCombinationPoster();
}
},
methods: {