Browse Source

去掉验证

xiaodai2022 2 years ago
parent
commit
407e32464f
1 changed files with 8 additions and 8 deletions
  1. 8 8
      src/views/youzan/luckyDrawGood/weburlImport.vue

+ 8 - 8
src/views/youzan/luckyDrawGood/weburlImport.vue

@@ -179,20 +179,20 @@ export default {
           web_url = [];
 
         this.tableData.forEach((key, index) => {
-          if (!validURL(key["act_good_url"])) {
-            isUrl = false;
-          }
+          // if (!validURL(key["act_good_url"])) {
+          //   isUrl = false;
+          // }
           let model = {
             act_good_id: key["act_good_id"],
             act_good_url: key["act_good_url"],
           };
           web_url.push(model);
         });
-        if (!isUrl) {
-          this.$message.warning("部分兑换链接不合法!");
-          this.loading = false;
-          return;
-        }
+        // if (!isUrl) {
+        //   this.$message.warning("部分兑换链接不合法!");
+        //   this.loading = false;
+        //   return;
+        // }
 
         const { code, data, message } = await asyncRequest.batchImport({
           web_url,