問題:vue.js a標籤href裏有變量,函數拼接問題

正確格式:html <a :href ="'http://search.jd.com/Search?enc=utf-8&keyword='+keyWord+'&page='+Math.ceil(record.skuRank/60)+'.html'">跳轉</a> 注意點:web 1.href前面要加「:」svg 2.字符串要用單引號「 ’ 」包住spa 3.句尾要加「.html」code
相關文章
相關標籤/搜索