Переход на quasar

This commit is contained in:
Book Pauk
2020-02-26 13:40:06 +07:00
parent 09115c9658
commit 6418e8ee30
3 changed files with 18 additions and 21 deletions

View File

@@ -52,6 +52,7 @@
</q-page-container>
</q-layout-->
<div class="fit row">
<StdDialog ref="stdDialog"/>
<keep-alive>
<router-view class="col"></router-view>
</keep-alive>
@@ -62,9 +63,13 @@
//-----------------------------------------------------------------------------
import Vue from 'vue';
import Component from 'vue-class-component';
import StdDialog from './share/StdDialog.vue';
import * as utils from '../share/utils';
export default @Component({
components: {
StdDialog,
},
watch: {
mode: function() {
this.setAppTitle();
@@ -135,6 +140,7 @@ class App extends Vue {
}
mounted() {
this.$root.stdDialog = this.$refs.stdDialog;
this.dispatch('config/loadConfig');
this.$watch('apiError', function(newError) {
if (newError) {