File tree Expand file tree Collapse file tree 3 files changed +17
-7
lines changed
Expand file tree Collapse file tree 3 files changed +17
-7
lines changed Original file line number Diff line number Diff line change 11import { sxzz } from '@sxzz/eslint-config'
2- export default sxzz ( )
2+ export default {
3+ ...sxzz ( ) ,
4+ rules : {
5+ 'no-lonely-if' : 9 ,
6+ } ,
7+ }
Original file line number Diff line number Diff line change @@ -132,4 +132,8 @@ body {
132132.dark body {
133133 background-color : #1a1a1a ;
134134}
135+
136+ .dark .lay-input {
137+ background-color : red ;
138+ }
135139 </style >
Original file line number Diff line number Diff line change @@ -243,13 +243,14 @@ export const useStore = (initial: Initial) => {
243243 files [ filename ] = new File ( filename , file as string )
244244 }
245245 userOptions . value = saved . _o || { }
246- }
247- // url中不带编码啊
248- // 判断是layui | layuiVue
249- if ( libName . value === 'layuiVue' ) {
250- files [ APP_FILE ] = new File ( APP_FILE , welcomeCode )
251246 } else {
252- files [ LAYUI_HTML_FILE ] = new File ( LAYUI_HTML_FILE , layuiHtmlCode )
247+ // url中不带编码啊
248+ // 判断是layui | layuiVue
249+ if ( libName . value === 'layuiVue' ) {
250+ files [ APP_FILE ] = new File ( APP_FILE , welcomeCode )
251+ } else {
252+ files [ LAYUI_HTML_FILE ] = new File ( LAYUI_HTML_FILE , layuiHtmlCode )
253+ }
253254 }
254255
255256 files [ MAIN_FILE ] = new File ( MAIN_FILE , mainCode , hideFile . value )
You can’t perform that action at this time.
0 commit comments