zhangzengfei
2022-11-22 f74166b3ed257a5e7f463019de3a7a90dae69c2b
调整比对库代码,处理选中bug
3个文件已修改
6 ■■■■■ 已修改文件
src/pages/library/components/baseList.vue 4 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/pages/library/components/carList.vue 1 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/pages/library/index/App.vue 1 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/pages/library/components/baseList.vue
@@ -232,10 +232,12 @@
    defaultShow() {
      if (this.syncTableList && this.syncTableList.length) {
        this.clickCategory(0, "sync", this.syncTableList[0]);
      } else {
      } else
        if (this.localTableList && this.localTableList.length) {
          this.clickCategory(0, "local", this.syncTableList[0]);
        }
      else {
        console.log("this.localTableList.length",this.localTableList.length)
      }
    },
    // 添加时间比较函数
src/pages/library/components/carList.vue
@@ -152,6 +152,7 @@
                :key="index"
              >
                <img
                  v-if="item.url.length"
                  style="width: 100px; height: 100px; object-fit: contain"
                  :src="item.url"
                  alt
src/pages/library/index/App.vue
@@ -98,7 +98,6 @@
  },
  methods: {
    getPersonList(item, type) {
      console.log(123);
      console.log(item);
      console.log(type);