|
@@ -4,6 +4,8 @@ const ignoreComponents = [undefined, "transition", "router-link", "Bar"];
|
|
|
|
|
|
const ignoreComponentsNameRegexArray = [/^El[A-Z].*/, /^fa-.*/];
|
|
const ignoreComponentsNameRegexArray = [/^El[A-Z].*/, /^fa-.*/];
|
|
|
|
|
|
|
|
+const groupCollapsed = true;
|
|
|
|
+
|
|
function getParentNumber(that) {
|
|
function getParentNumber(that) {
|
|
let parentNumber = 0;
|
|
let parentNumber = 0;
|
|
while (that) {
|
|
while (that) {
|
|
@@ -75,7 +77,12 @@ for (const m of injecRoutertMethods) {
|
|
lifeCycleMixins[m.name] = function(to, from, next) {
|
|
lifeCycleMixins[m.name] = function(to, from, next) {
|
|
if (!startLogging) {
|
|
if (!startLogging) {
|
|
startLogging = true;
|
|
startLogging = true;
|
|
- console.group("Vue lifecyle logs");
|
|
|
|
|
|
+ if (groupCollapsed) {
|
|
|
|
+ console.groupCollapsed("Vue lifecyle logs");
|
|
|
|
+ } else {
|
|
|
|
+ console.group("Vue lifecyle logs");
|
|
|
|
+ }
|
|
|
|
+
|
|
loggingTime = Date.now();
|
|
loggingTime = Date.now();
|
|
}
|
|
}
|
|
|
|
|