File tree Expand file tree Collapse file tree 2 files changed +11
-7
lines changed Expand file tree Collapse file tree 2 files changed +11
-7
lines changed Original file line number Diff line number Diff line change 7272 < div class ="mdui-textfield mdui-textfield-floating-label mdui-col-xs-6 ">
7373 < i class ="mdui-icon material-icons "> details</ i >
7474 < label class ="mdui-textfield-label i18n "> {{appMinApiVersion}}</ label >
75- < input class ="mdui-textfield-input " id ="app_min_api_text " required type ="number " value ="27 "/>
75+ < input class ="mdui-textfield-input " id ="app_min_api_text " required type ="number " value ="0 "/>
7676 </ div >
7777 < div class ="mdui-textfield mdui-textfield-floating-label mdui-col-xs-6 ">
7878 < i class ="mdui-icon material-icons "> change_history</ i >
7979 < label class ="mdui-textfield-label i18n "> {{appTargetApiVersion}}</ label >
80- < input class ="mdui-textfield-input " id ="app_target_api_text " required type ="number "
81- value ="32 "/>
80+ < input class ="mdui-textfield-input " id ="app_target_api_text " required type ="number " value ="0 "/>
8281 </ div >
8382 </ div >
8483 < div class ="mdui-textfield mdui-textfield-floating-label ">
8584 < i class ="mdui-icon material-icons "> extension</ i >
8685 < label class ="mdui-textfield-label i18n "> {{xposedMinApiVersion}} (Xposed Min API Version)</ label >
87- < input class ="mdui-textfield-input " id ="xposed_min_api_text " required type ="number " value ="93 "/>
86+ < input class ="mdui-textfield-input " id ="xposed_min_api_text " required type ="number " value ="0 "/>
8887 </ div >
8988 < div class ="mdui-textfield ">
9089 < i class ="mdui-icon material-icons "> settings_input_hdmi</ i >
Original file line number Diff line number Diff line change @@ -57,9 +57,9 @@ const projectConfigs = {
5757 packageName : '' ,
5858 appName : '' ,
5959 moduleDescription : '' ,
60- appMinApi : 0 ,
61- appTargetApi : 0 ,
62- xposedMinApi : 0 ,
60+ appMinApi : 27 ,
61+ appTargetApi : 32 ,
62+ xposedMinApi : 93 ,
6363 moduleCompoment : 0 ,
6464 targetXposedPlatform : 0 ,
6565 newXSharePrefs : 0 ,
@@ -683,6 +683,11 @@ const page = {
683683 $ ( element ) . attr ( 'placeholder' , innerHtml . replace ( / \{ \{ ( .* ) } } / , i18nText ) ) ;
684684 else element . innerHTML = innerHtml . replace ( / \{ \{ ( .* ) } } / , i18nText ) ;
685685 } ) ;
686+ /** 初始化必要数据 */
687+ $ ( '#app_min_api_text' ) . val ( projectConfigs . basicConfig . appMinApi ) ;
688+ $ ( '#app_target_api_text' ) . val ( projectConfigs . basicConfig . appTargetApi ) ;
689+ $ ( '#xposed_min_api_text' ) . val ( projectConfigs . basicConfig . xposedMinApi ) ;
690+ /** 显示页面 */
686691 $ ( '#root_div' ) . show ( ) ;
687692 page . checkForUpdates ( false ) ;
688693 } ,
You can’t perform that action at this time.
0 commit comments