@@ -13,7 +13,7 @@ export const useNProgress = () => {
|
||||
await nextTick()
|
||||
const bar = document.getElementById('nprogress')?.getElementsByClassName('bar')[0] as ElRef
|
||||
if (bar) {
|
||||
bar.style.background = unref(primaryColor.value)
|
||||
bar.style.background = unref(primaryColor.value) as string
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -25,7 +25,7 @@ export const useTable = (config: UseTableConfig) => {
|
||||
const pageSize = ref(10)
|
||||
const total = ref(0)
|
||||
const dataList = ref<any[]>([])
|
||||
let isPageSizeChange = false
|
||||
let isPageSizeChange = false
|
||||
|
||||
watch(
|
||||
() => currentPage.value,
|
||||
|
||||
Reference in New Issue
Block a user