diff --git a/assets/js/brand.js b/assets/js/brand.js index ec9d8ae..af82827 100755 --- a/assets/js/brand.js +++ b/assets/js/brand.js @@ -174,7 +174,4 @@ function initslick(){ }, ], }); -} -$(function () { - -}); \ No newline at end of file +} \ No newline at end of file diff --git a/assets/js/index.js b/assets/js/index.js index 7fe535b..0356f06 100755 --- a/assets/js/index.js +++ b/assets/js/index.js @@ -3,7 +3,6 @@ $(function() { var vm = new Vue({ el: '#app', data: { - reactdata: '222', name: '', phone: '', email: '', diff --git a/assets/js/newcar.js b/assets/js/newcar.js index e34e98b..a51f997 100755 --- a/assets/js/newcar.js +++ b/assets/js/newcar.js @@ -145,10 +145,6 @@ $(function() { }else{ this.selectedBrand = brand; } - - // window.location.href = 'brand.html?id=' + brand - // 这里可以添加点击后的逻辑,比如跳转到品牌页面 - // console.log('选中品牌:', brand); this.fetchData() }, selectenergy(item) { @@ -157,9 +153,6 @@ $(function() { }else{ this.selectedenergy = item.id } - // window.location.href = 'brand.html?id=' + brand - // 这里可以添加点击后的逻辑,比如跳转到品牌页面 - // console.log('选中:', item); this.fetchData() }, prevPage() {