|
|
@@ -173,7 +173,7 @@
|
|
|
if (res.data.cate_id_one && res.data.cate_id_two) {
|
|
|
this.selectedWorkCate = [res.data.cate_id_one, res.data.cate_id_two]
|
|
|
}
|
|
|
- this.workType = Number(res.data.type) || 1
|
|
|
+ this.workType = res.data.price > 0 ? 2 : 1
|
|
|
this.price = res.data.price || 0
|
|
|
}
|
|
|
});
|
|
|
@@ -305,6 +305,7 @@
|
|
|
}
|
|
|
if (res.status === 1) {
|
|
|
this.$message.success("添加作品成功!");
|
|
|
+ this.wid = res.data.wid || ''
|
|
|
// setTimeout(() => {
|
|
|
// self.$router.push({
|
|
|
// path: '/sign/new',
|