File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed
Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -693,6 +693,7 @@ export const objectToQueryString = (obj) => {
693693export async function getOriginalJs ( js_code ) {
694694 // let current_match = /var rule|[\u4E00-\u9FA5]+|function|let |var |const |\(|\)|"|'/;
695695 let current_match = / v a r r u l e | f u n c t i o n | l e t | v a r | c o n s t | c l a s s R u l e | a s y n c | t h i s \. / ;
696+ let current_match1 = / [ " { } ] / ;
696697 if ( current_match . test ( js_code ) ) {
697698 return js_code
698699 }
@@ -773,7 +774,7 @@ export async function getOriginalJs(js_code) {
773774 // },
774775 ]
775776 let func_index = 0
776- while ( ! current_match . test ( decode_content ) ) {
777+ while ( ! current_match . test ( decode_content ) && ! current_match1 . test ( decode_content ) ) {
777778 decode_content = decode_funcs [ func_index ] ( js_code ) ;
778779 func_index ++ ;
779780 if ( func_index >= decode_funcs . length ) {
You can’t perform that action at this time.
0 commit comments