Преглед изворни кода

添加打印机设置功能

xiaoxin пре 1 година
родитељ
комит
ca81f6f0da
1 измењених фајлова са 0 додато и 22 уклоњено
  1. 0 22
      src/views/shopsList/shopPrintSet.vue

+ 0 - 22
src/views/shopsList/shopPrintSet.vue

@@ -354,9 +354,6 @@ export default {
 
 
     // 根据店铺ID获取小票模板数据
     // 根据店铺ID获取小票模板数据
     this.getModelDatas();
     this.getModelDatas();
-
-    // this.test2();
-    // this.test3();
   },
   },
   computed: {
   computed: {
     // 基本信息
     // 基本信息
@@ -377,25 +374,6 @@ export default {
     }
     }
   },
   },
   methods: {
   methods: {
-    async test2() {
-      const res = await this.$http({
-        url: this.$http.adornUrl("/admin/printInfo/getPrintInfo"),
-        params: this.$http.adornParams({
-          id: 1
-        })
-      });
-      // console.log(res);
-    },
-    async test3() {
-      const res = await this.$http({
-        url: this.$http.adornUrl("/admin/printInfo/getPrintInfoList"),
-        params: this.$http.adornParams({
-          page: 1,
-          limit: 6
-        })
-      });
-      // console.log(res);
-    },
     // 根据店铺ID获取小票模板数据
     // 根据店铺ID获取小票模板数据
     async getModelDatas() {
     async getModelDatas() {
       const res = await this.$http({
       const res = await this.$http({