diff --git a/src/views/tool.blade.php b/src/views/tool.blade.php
index 92f1dd1..30d0729 100644
--- a/src/views/tool.blade.php
+++ b/src/views/tool.blade.php
@@ -108,7 +108,7 @@
-
+
@if( !empty($error) )
@@ -203,6 +203,29 @@
$trTemp.appendTo("#codeRequird");
})
}
+ function changeLocoal(params) {
+ var storage=window.localStorage;
+ var valKey = $("#method").find("option:selected").text();
+ var data=editor.getValue();
+ var d=JSON.stringify(data).replaceAll("\r|\n|\\s", "");
+ storage.setItem(valKey,d);
+ }
+
+ function changeNavShow(){
+ var storage=window.localStorage;
+ for(var i=0;i');
+ $trTemp.append(''+ key +'');
+ }
+ }
+ $('#submit-btn').bind('click',function(params) {
+ var storage=window.localStorage;
+ var valKey = $("#method").find("option:selected").text();
+ var data=editor.getValue();
+ var d=JSON.stringify(data);
+ storage.setItem(valKey,d);
+ })