<template>
  <div class="pa-4 text-center">
    <v-dialog v-model="props" max-width="320" persistent>
      <v-card max-width="600">
        <div class="px-10 py-10 text-center">
          <v-progress-circular
            color="primary"
            indeterminate="disable-shrink"
            size="50"
            width="6"
          ></v-progress-circular>
          <div class="text-subtitle mt-5">กำลังบันทึกข้อมูล...</div>
        </div>
      </v-card>
    </v-dialog>
  </div>
</template>
<script>
export default {
  props: {
    dialog: { type: Boolean },
  },
  data() {
    return {
      // dialog: true,
    };
  },

  watch: {
    // dialog(val) {
    //   if (!val) return;
    //   setTimeout(() => (this.dialog = false), 4000);
    // },
  },
};
</script>
