|
@@ -46,7 +46,6 @@ export default {
|
|
data.userid = this.user.uid;
|
|
data.userid = this.user.uid;
|
|
let res;
|
|
let res;
|
|
let msg;
|
|
let msg;
|
|
-
|
|
|
|
if (data.id) {
|
|
if (data.id) {
|
|
res = await this.productUpdate(data);
|
|
res = await this.productUpdate(data);
|
|
msg = `${this.keyWord}修改成功`;
|
|
msg = `${this.keyWord}修改成功`;
|
|
@@ -57,7 +56,7 @@ export default {
|
|
if (this.$checkRes(res, msg)) this.$router.push({ path: '/market/index' });
|
|
if (this.$checkRes(res, msg)) this.$router.push({ path: '/market/index' });
|
|
},
|
|
},
|
|
// 查询类型
|
|
// 查询类型
|
|
- async maarkettype({ category = 123, ...info } = {}) {
|
|
|
|
|
|
+ async maarkettype({ category = 54, ...info } = {}) {
|
|
const res = await this.markettypeList({ category, ...info });
|
|
const res = await this.markettypeList({ category, ...info });
|
|
console.log(res.data);
|
|
console.log(res.data);
|
|
|
|
|