mirror of
https://github.com/soybeanjs/soybean-admin.git
synced 2025-12-26 15:00:16 +08:00
build(projects): update tsconfig、eslintrc
This commit is contained in:
@@ -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);
|
||||
|
||||
@@ -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() {
|
||||
|
||||
Reference in New Issue
Block a user