Commit 276e7eca by tang

feat: 查询反代

parent e3689559
......@@ -400,7 +400,14 @@ export default {
},
async handleSearchProduct() {
window.open(`http://search.anccnet.com/searchResult2.aspx?keyword=${this.productSearch.code}`, '_blank')
const a = document.createElement('a')
a.setAttribute('href', '/internal_code_search/searchResult2.aspx?keyword=${this.productSearch.code}')
a.setAttribute('target', '_blank')
a.setAttribute('id', 'cow-link-temp')
document.body.appendChild(a)
a.click()
document.body.removeChild(document.getElementById('cow-link-temp'))
// window.open(`http://search.anccnet.com/searchResult2.aspx?keyword=${this.productSearch.code}`, '_blank')
}
// this.showResult = true;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment