mirror of
https://gitee.com/lab1024/smart-admin.git
synced 2025-10-03 02:36:39 +08:00
1 line
1.2 KiB
JavaScript
1 line
1.2 KiB
JavaScript
(window["RCDLjsonFunction"]=window["RCDLjsonFunction"]||[]).push([[38],{125:function(n,e,t){"use strict";t.r(e);var r=t(20);var o=t.n(r);var a=t(32);var i=t.n(a);var u=t(262);var c=t.n(u);function asyncGeneratorStep(n,e,t,r,o,a,i){try{var u=n[a](i);var c=u.value}catch(n){t(n);return}if(u.done){e(c)}else{Promise.resolve(c).then(r,o)}}function _asyncToGenerator(n){return function(){var e=this,t=arguments;return new Promise((function(r,o){var a=n.apply(e,t);function _next(n){asyncGeneratorStep(a,r,o,_next,_throw,"next",n)}function _throw(n){asyncGeneratorStep(a,r,o,_next,_throw,"throw",n)}_next(undefined)}))}}RCDL.utilities.orientationChange=function(){window.addEventListener("orientationchange",(function(){location.reload()}))};e["default"]={fn:function(){var n=_asyncToGenerator(regeneratorRuntime.mark((function _callee(){return regeneratorRuntime.wrap((function _callee$(n){while(1){switch(n.prev=n.next){case 0:return n.abrupt("return",RCDL.utilities.orientationChange());case 1:case"end":return n.stop()}}}),_callee)})));function fn(){return n.apply(this,arguments)}return fn}(),setup:function setup(n){RCDL.utilities.orientationChange.prototype.defaultSelector=n}}}}]); |