| | |
| | | type="success" |
| | | v-for="crux in dynamiccruxs" |
| | | closable |
| | | effect="dark" |
| | | :disable-transitions="false" |
| | | @close="handleClosecrux(crux)" |
| | | > |
| | |
| | | @change="handleInputConfirm" |
| | | filterable |
| | | remote |
| | | allow-create |
| | | reserve-keyword |
| | | default-first-option |
| | | :loading="loading" |
| | |
| | | type="warning" |
| | | v-for="crux in nodynamiccruxs" |
| | | closable |
| | | effect="dark" |
| | | :disable-transitions="false" |
| | | @close="handleClosecrux(crux)" |
| | | > |
| | |
| | | @change="handleInputConfirm" |
| | | filterable |
| | | remote |
| | | allow-create |
| | | reserve-keyword |
| | | default-first-option |
| | | :loading="loading" |
| | |
| | | let regex = ""; |
| | | let regexno = ""; |
| | | let hostregex = ""; |
| | | let hostregexno = ""; |
| | | |
| | | for (let i = 0; i < this.dynamiccruxs.length; i++) { |
| | | regex += `${this.dynamiccruxs[i]}|`; |
| | |
| | | regex = regex.slice(0, -1); |
| | | regexno = regexno.slice(0, -1); |
| | | |
| | | hostregex = "^(?!." + `${regexno}` + ")(.(" + `${regex}` + ")+.*)$"; |
| | | console.log(hostregex); |
| | | hostregex = "(?=.*(?:" + `${regex}` + ")).*$"; |
| | | hostregexno = "(?=.*(?:" + `${regexno}` + ")).*$"; |
| | | console.log(hostregex, "确定字匹配"); |
| | | console.log(hostregexno, "否定字匹配"); |
| | | }, |
| | | // 控制文件 |
| | | handleChange(file, fileList) { |
| | |
| | | this.whether = 2; |
| | | console.log(2); |
| | | }, |
| | | handleSelectionChange(selection) { |
| | | $emit("handleSelectionChange", selection); |
| | | }, |
| | | }, |
| | | }; |
| | | </script> |