diff --git a/proj/y2t/assets/js/main.js b/proj/y2t/assets/js/main.js index 236658c..de71136 100644 --- a/proj/y2t/assets/js/main.js +++ b/proj/y2t/assets/js/main.js @@ -45,5 +45,12 @@ Vue.component('copbox',{ }) let vm = new Vue({ - + data: { + loading: false + }, + methods: { + loadingStart(){ + this.loading = true + } + } }).$mount('#root') \ No newline at end of file diff --git a/proj/y2t/index.php b/proj/y2t/index.php index 5fcb542..c17f5a1 100644 --- a/proj/y2t/index.php +++ b/proj/y2t/index.php @@ -28,6 +28,12 @@ PH2 PH3 +