guhongwei 3 年之前
父節點
當前提交
f11c684b5f
共有 1 個文件被更改,包括 4 次插入0 次删除
  1. 4 0
      src/store/patent.js

+ 4 - 0
src/store/patent.js

@@ -25,6 +25,10 @@ const actions = {
     const res = await this.$axios.$get(`${api.patentInfo}/${payload}`);
     const res = await this.$axios.$get(`${api.patentInfo}/${payload}`);
     return res;
     return res;
   },
   },
+  async sellFetch({ commit }, payload) {
+    const res = await this.$axios.$get(`${api.patentInfo}/getByCN/${payload}`);
+    return res;
+  },
   async update({ commit }, { id, ...data }) {
   async update({ commit }, { id, ...data }) {
     const res = await this.$axios.$post(`${api.patentInfo}/update/${id}`, data);
     const res = await this.$axios.$post(`${api.patentInfo}/update/${id}`, data);
     return res;
     return res;