Commit 2f46210b authored by tufengqi's avatar tufengqi

版本号支持-

parent 922dd7e0
...@@ -129,7 +129,7 @@ $(".submit_cookie").on("click",function(){ ...@@ -129,7 +129,7 @@ $(".submit_cookie").on("click",function(){
// 在这里,做想做的事。。。 // 在这里,做想做的事。。。
if(wpoInfo['fpf-version']){ if(wpoInfo['fpf-version']){
var str = wpoInfo['fpf-version']; var str = wpoInfo['fpf-version'];
var patt = /(file|cookie)-([a-zA-Z0-9]+)/; var patt = /(file|cookie)-([a-zA-Z0-9-]+)/;
var result; var result;
if ((result = patt.exec(str)) != null) { if ((result = patt.exec(str)) != null) {
var type = result[1]; var type = result[1];
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment