he wei
2023-11-16 8c096c96abd9fe5658a2e1fc5d20ebf29aac0a22
U 去除调试代码
2个文件已修改
16 ■■■■ 已修改文件
src/views/home/index.vue 8 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/login/index.vue 8 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/home/index.vue
@@ -136,7 +136,7 @@
      this.sendMessage2();
    },
    fileChange(file, fileList) {
      console.log(file, fileList, "change");
      // console.log(file, fileList, "change");
      this.fileList = [file];
    },
    fileRemove(file, fileList) {
@@ -218,7 +218,7 @@
          let { code, data, data2 } = res.data;
          let list = [];
          if (code && data) {
            console.log(data);
            // console.log(data);
            list = data2.map((v) => {
              let url = v;
              let fileName = url.split("\\").pop();
@@ -238,7 +238,7 @@
        });
    },
    handleSelectionChange(val) {
      console.log(val, "selection");
      // console.log(val, "selection");
      this.multipleSelection = val;
    },
    downloadFile(url) {
@@ -275,7 +275,7 @@
      }
      let obj = this.tableData.filter((v) => v.devId == this.currDevId)[0];
      let { isTimeout, devWorkstate } = obj;
      console.log("是否下载中", !isTimeout && devWorkstate == 3);
      // console.log("是否下载中", !isTimeout && devWorkstate == 3);
      return !isTimeout && devWorkstate == 3;
    },
    isUpdateing() {
src/views/login/index.vue
@@ -21,10 +21,10 @@
    };
    return {
      loginForm: {
        username: "hw",
        password: "123456",
        // username: "",
        // password: "",
        // username: "hw",
        // password: "123456",
        username: "",
        password: "",
      },
      loginRules: {
        username: [