Home >
front end > How to rewrite the following code can be compatible with Internet explorer
How to rewrite the following code can be compatible with Internet explorer
Object. DefineProperty (x, "id", {
Get: the function () {
if (! IsOpening) {
The self. The onOpen ();
IsOpening=true;
}
IsOpened=true;
return true;
}
});