build(projects): update tsconfig、eslintrc

This commit is contained in:
Soybean
2022-03-12 16:21:40 +08:00
parent 4093dcd6dc
commit 75de2b0604
131 changed files with 1174 additions and 1140 deletions

View File

@@ -53,7 +53,7 @@ const props = withDefaults(defineProps<Props>(), {
emptyDesc: '暂无数据',
iconClass: 'text-320px text-primary',
descClass: 'text-16px text-[#666]',
showNetworkReload: false
showNetworkReload: false,
});
// 网络状态
@@ -79,7 +79,7 @@ function handleReload() {
const stopHandle = watch(
() => props.loading,
newValue => {
(newValue) => {
// 结束加载判断一下网络状态
if (!newValue) {
setNetwork(window.navigator.onLine);

View File

@@ -23,7 +23,7 @@ interface Emits {
}
const props = withDefaults(defineProps<Props>(), {
value: true
value: true,
});
const emit = defineEmits<Emits>();
@@ -34,7 +34,7 @@ const checked = computed({
},
set(newValue: boolean) {
emit('update:value', newValue);
}
},
});
function handleClickProtocol() {