开发模式下方便调试

This commit is contained in:
fofolee
2022-04-19 20:17:17 +08:00
parent 9872a08968
commit 09d254cd2a
2 changed files with 19 additions and 17 deletions

View File

@@ -29,7 +29,7 @@ export default defineComponent({
},
methods: {
init() {
window.root = this;
utools.isDev() && (window.root = this);
window.utools = window.getuToolsLite();
if (!this.checkVer()) return;
this.startUp();