shaoyongjun 07dcd13877 to:sync
2024-11-10 22:57:28 +08:00

18 lines
635 B
JavaScript
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

"use strict";
define(function (require) {
const isDebug = false; // 控制是否屏蔽全局console.log 日志isDebug设为false即可屏蔽
console.log = (function (oldLogFunc) {
return function () {
if (isDebug) {
oldLogFunc.apply(this, arguments);
}
}
})(console.log);
const ctx = require('./common/ctx');
const eventListener = require('./event/MyEventListener')
const utils = require('./common/utils')
console.log("uuid1 -10 : ", utils.Uuid(ctx.usn));
//初始化第一个输入框
ctx.MyRoot().append(document.createElement("p"));
})