changes
This commit is contained in:
@@ -428,9 +428,8 @@
|
||||
/>
|
||||
</template>
|
||||
<script setup>
|
||||
import { useStore } from "~/stores/index";
|
||||
import ScrollBox from "~/components/datatable/ScrollBox.vue";
|
||||
import { cloneDeep, isEqual } from "es-toolkit";
|
||||
import { cloneDeep } from "es-toolkit";
|
||||
|
||||
const props = defineProps({
|
||||
pagename: String,
|
||||
|
||||
@@ -454,7 +454,6 @@
|
||||
</template>
|
||||
<script setup>
|
||||
import { ref } from "vue";
|
||||
import { useStore } from "~/stores/index";
|
||||
const store = useStore();
|
||||
const { $id, $copy, $empty, $stripHtml, $calc, $remove, $copyToClipboard } = useNuxtApp();
|
||||
var props = defineProps({
|
||||
|
||||
@@ -135,7 +135,6 @@
|
||||
<script setup>
|
||||
import { createApp } from "vue/dist/vue.esm-bundler.js";
|
||||
import { isEmpty } from "es-toolkit/compat";
|
||||
import { useStore } from "~/stores/index";
|
||||
|
||||
const emit = defineEmits(["edit", "insert", "dataevent"]);
|
||||
const {
|
||||
|
||||
@@ -3,11 +3,11 @@
|
||||
v-if="timeopt"
|
||||
v-bind="{
|
||||
pagename: vpagename,
|
||||
api: api,
|
||||
timeopt: timeopt,
|
||||
api,
|
||||
timeopt,
|
||||
filter: optfilter,
|
||||
importdata: props.importdata,
|
||||
newDataAvailable: newDataAvailable,
|
||||
importdata,
|
||||
newDataAvailable,
|
||||
params: vparams,
|
||||
}"
|
||||
ref="timeopt"
|
||||
@@ -34,7 +34,6 @@
|
||||
|
||||
<script setup>
|
||||
import TimeOption from "~/components/datatable/TimeOption";
|
||||
import { useStore } from "~/stores/index";
|
||||
// [FIX] Thêm onActivated, onDeactivated để xử lý KeepAlive
|
||||
import { ref, watch, onBeforeUnmount, onActivated, onDeactivated } from "vue";
|
||||
import DataTable from "~/components/datatable/DataTable.vue";
|
||||
|
||||
@@ -109,7 +109,6 @@
|
||||
</template>
|
||||
<script setup>
|
||||
import { ref } from "vue";
|
||||
import { useStore } from "~/stores/index";
|
||||
|
||||
const emit = defineEmits(["modalevent", "close"]);
|
||||
const store = useStore();
|
||||
|
||||
@@ -258,7 +258,6 @@
|
||||
</template>
|
||||
<script setup>
|
||||
import { cloneDeep } from "es-toolkit";
|
||||
import { useStore } from "~/stores/index";
|
||||
const emit = defineEmits(["modalevent"]);
|
||||
const store = useStore();
|
||||
const { $id, $copy, $empty, $stripHtml, $createField, $calc, $isNumber } = useNuxtApp();
|
||||
|
||||
@@ -198,7 +198,6 @@
|
||||
<script setup>
|
||||
import TimeOption from "~/components/datatable/TimeOption";
|
||||
import { ref, computed, watch, onMounted, onBeforeUnmount, defineComponent } from "vue";
|
||||
import { useStore } from "~/stores/index";
|
||||
import { cloneDeep } from "es-toolkit";
|
||||
|
||||
const emit = defineEmits(["modalevent", "dataevent", "dataUpdated", "edit", "insert"]);
|
||||
|
||||
@@ -78,7 +78,6 @@
|
||||
</template>
|
||||
<script setup>
|
||||
import { cloneDeep } from "es-toolkit";
|
||||
import { useStore } from "~/stores/index";
|
||||
const emit = defineEmits(["close"]);
|
||||
const { $stripHtml, $arrayMove, $remove } = useNuxtApp();
|
||||
const store = useStore();
|
||||
|
||||
@@ -170,8 +170,6 @@
|
||||
</template>
|
||||
|
||||
<script>
|
||||
import { useStore } from "~/stores/index";
|
||||
|
||||
export default {
|
||||
setup() {
|
||||
const store = useStore();
|
||||
|
||||
Reference in New Issue
Block a user