Commit 8b71baef by Tang

feat: 商品信息查询跳转改为当前页跳转

parent fecb33c7
...@@ -403,7 +403,7 @@ export default { ...@@ -403,7 +403,7 @@ export default {
async handleSearchProduct() { async handleSearchProduct() {
const a = document.createElement('a') const a = document.createElement('a')
a.setAttribute('href', `/internal_code_search/searchResult2.aspx?keyword=${this.productSearch.code}`) a.setAttribute('href', `/internal_code_search/searchResult2.aspx?keyword=${this.productSearch.code}`)
a.setAttribute('target', '_blank') // a.setAttribute('target', '_blank')
a.setAttribute('id', 'cow-link-temp') a.setAttribute('id', 'cow-link-temp')
document.body.appendChild(a) document.body.appendChild(a)
a.click() a.click()
......
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