Browse Source

fix issue

tags/v1.22.7.1
zhoupzh 4 years ago
parent
commit
64aae84f12
1 changed files with 0 additions and 3 deletions
  1. +0
    -3
      web_src/js/features/cloudrbanin.js

+ 0
- 3
web_src/js/features/cloudrbanin.js View File

@@ -216,7 +216,6 @@ export default async function initCloudrain() {
},
onApprove: function () {
if (!versionName) {
console.log("-----");
document.getElementById(delId).submit();
} else {
deleteVersion(versionName, repoPath);
@@ -251,9 +250,7 @@ export default async function initCloudrain() {
$(".ui.basic.ai_delete").click(function () {
const repoPath = this.dataset.repopath;
const versionName = this.dataset.version;
console.log("----this", this, this.dataset.version);
if (repoPath && versionName) {
console.log("----this", this);
assertDelete(this, versionName, repoPath);
} else {
assertDelete(this);


Loading…
Cancel
Save