From 8e845ae9f21546ad6c352aa9952c6dd597ed7c34 Mon Sep 17 00:00:00 2001 From: liuqimichale <123456lq> Date: Fri, 4 Jan 2019 15:01:03 +0800 Subject: [PATCH] 默认第一个选中 --- js/index.js | 1 + 1 file changed, 1 insertion(+), 0 deletions(-) diff --git a/js/index.js b/js/index.js index 8822c63..b150f25 100644 --- a/js/index.js +++ b/js/index.js @@ -106,6 +106,7 @@ var fun={ menuList+='
'; $('#box').append(imgList); $('#controls').append(menuList); + $('#controls').find('li').eq(0).addClass('active') } -- libgit2 0.21.4