@ -350,6 +350,12 @@
return sortDesc[0] ? -comp : comp;
});
}
},
watch: {
search() {
this.options.page = 1;
this.fetchUsers();
</script>
@ -421,6 +421,12 @@ export default {
@ -176,6 +176,12 @@ export default {
async created() {
await this.fetchUsers()
methods: {
async fetchUsers() {
this.isLoading = true