feat: 引入eslint
This commit is contained in:
@@ -14,24 +14,22 @@
|
||||
|
||||
<script>
|
||||
export default {
|
||||
name: "loading",
|
||||
name: 'loading',
|
||||
props: {
|
||||
|
||||
},
|
||||
data() {
|
||||
data () {
|
||||
return {
|
||||
showLoading:false,
|
||||
};
|
||||
showLoading: false
|
||||
}
|
||||
},
|
||||
methods: {
|
||||
startLoading(){
|
||||
this.showLoading = true;
|
||||
},
|
||||
endLoading(){
|
||||
this.showLoading = false;
|
||||
startLoading () {
|
||||
this.showLoading = true
|
||||
},
|
||||
endLoading () {
|
||||
this.showLoading = false
|
||||
}
|
||||
}
|
||||
};
|
||||
}
|
||||
</script>
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user