This commit is contained in:
Pig Fang 2019-05-19 10:32:28 +08:00
parent 979290c71c
commit 9d2ec9a955

View File

@ -225,7 +225,7 @@ export default {
methods: { methods: {
async fetchData() { async fetchData() {
const { data = {} } = await this.$http.get(`/skinlib/info/${this.tid}`) const { data = {} } = await this.$http.get(`/skinlib/info/${this.tid}`)
Object.assign(this, data) Object.assign(this.$data, data)
this.uploadAt = data.upload_at this.uploadAt = data.upload_at
}, },
async addToCloset() { async addToCloset() {