增加admin管理帐号和项目的界面--初步实现
This commit is contained in:
+25
@@ -0,0 +1,25 @@
|
||||
'use strict';
|
||||
|
||||
Object.defineProperty(exports, '__esModule', { value: true });
|
||||
|
||||
var shared = require('@vue/shared');
|
||||
|
||||
class ElementPlusError extends Error {
|
||||
constructor(m) {
|
||||
super(m);
|
||||
this.name = "ElementPlusError";
|
||||
}
|
||||
}
|
||||
function throwError(scope, m) {
|
||||
throw new ElementPlusError(`[${scope}] ${m}`);
|
||||
}
|
||||
function debugWarn(scope, message) {
|
||||
if (typeof process !== "undefined" && process.env.NODE_ENV !== "production") {
|
||||
const error = shared.isString(scope) ? new ElementPlusError(`[${scope}] ${message}`) : scope;
|
||||
console.warn(error);
|
||||
}
|
||||
}
|
||||
|
||||
exports.debugWarn = debugWarn;
|
||||
exports.throwError = throwError;
|
||||
//# sourceMappingURL=error.js.map
|
||||
Reference in New Issue
Block a user