wuhongyu 5 년 전
부모
커밋
b27f157a3e
2개의 변경된 파일2개의 추가작업 그리고 3개의 파일을 삭제
  1. 1 1
      src/views/enterprise/enterprisexuqiu.vue
  2. 1 2
      src/views/market/marketfabu.vue

+ 1 - 1
src/views/enterprise/enterprisexuqiu.vue

@@ -91,7 +91,7 @@ export default {
       if (this.$checkRes(res, msg)) this.$router.push({ path: '/enterprise/enterprisefabu' });
       if (this.$checkRes(res, msg)) this.$router.push({ path: '/enterprise/enterprisefabu' });
     },
     },
     // 查询类型
     // 查询类型
-    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);
 
 

+ 1 - 2
src/views/market/marketfabu.vue

@@ -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);