wwwroot/lib/vue/vue-router.js
(开头部分) 85KB这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。
/*!
* vue-router v3.5.1
* (c) 2021 Evan You
* @license MIT
*/
(function (global, factory) {
typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory() :
typeof define === 'function' && define.amd ? define(factory) :
(global = typeof globalThis !== 'undefined' ? globalThis : global || self, global.VueRouter = factory());
}(this, (function () { 'use strict';
/* */
function assert (condition, message) {
if (!condition) {
throw new Error(("[vue-router] " + message))
}
}
function warn (condition, message) {
if ( !condition) {
typeof console !== 'undefined' && console.warn(("[vue-router] " + message));
}
}
function extend (a, b) {
for (var key in b) {
a[key] = b[key];
}
return a
}
/* */
var encodeReserveRE = /[!'()*]/g;
var encodeReserveReplacer = function (c) { return '%' + c.charCodeAt(0).toString(16); };
var commaRE = /%2C/g;
// fixed encodeURIComponent which is more conformant to RFC3986:
// - escapes [!'()*]
// - preserve commas
var encode = function (str) { return encodeURIComponent(str)
.replace(encodeReserveRE, encodeReserveReplacer)
.replace(commaRE, ','); };
function decode (str) {
try {
return decodeURIComponent(str)
} catch (err) {
{
warn(false, ("Error decoding \"" + str + "\". Leaving it intact."));
}
}
return str
}
function resolveQuery (
query,
extraQuery,
_parseQuery
后面还有 3086 行代码,解锁后查看完整代码
24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明
AI 解读 AI
登录后可用,每次 10 算力,解读结果公开显示在下面。
还没有人解读过这个文件。