摘要: /** * @param {string} path 判断字符串是否是https?:|mailto:|tal: 开头的 * @returns {Boolean} */ export function isExternal(path) { return /^(https?:|mailto:|tel:) 阅读全文
posted @ 2019-07-12 17:17 龙旋风 阅读(2018) 评论(4) 推荐(2) 编辑