提交 232f43cd 编写于 作者: H hjdhnx

修复MY_FL和encodeUrl

上级 b177e18d
......@@ -806,7 +806,7 @@ function categoryParse(cateObj) {
if(p.startsWith('js:')){
const MY_CATE = cateObj.tid;
const cateID = cateObj.tid;
const MY_FL = cateObj.extend;
var MY_FL = cateObj.extend;
const TYPE = 'cate';
var input = MY_URL;
const MY_PAGE = cateObj.pg;
......
......@@ -234,6 +234,7 @@ export function urlencode (str) {
return encodeURIComponent(str).replace(/!/g, '%21').replace(/'/g, '%27').replace(/\(/g, '%28').
replace(/\)/g, '%29').replace(/\*/g, '%2A').replace(/%20/g, '+');
}
export var encodeUrl = urlencode;
// export default {
// 是否正版:是否正版,
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册