mirror of
https://github.com/1Panel-dev/1Panel.git
synced 2025-12-09 20:05:54 +08:00
fix: Fix the issue of abnormal display of the professional version of… (#8723)
Refs #8722
This commit is contained in:
parent
12eb00d638
commit
8e5e0b0d88
1 changed files with 2 additions and 2 deletions
|
|
@ -280,6 +280,7 @@ import { loadBaseInfo, loadCurrentInfo } from '@/api/modules/dashboard';
|
|||
import { getIOOptions, getNetworkOptions } from '@/api/modules/host';
|
||||
import { getSettingInfo, loadUpgradeInfo } from '@/api/modules/setting';
|
||||
import { GlobalStore } from '@/store';
|
||||
import { storeToRefs } from 'pinia';
|
||||
const router = useRouter();
|
||||
const globalStore = GlobalStore();
|
||||
|
||||
|
|
@ -305,7 +306,7 @@ const ioOptions = ref();
|
|||
const netOptions = ref();
|
||||
|
||||
const licenseRef = ref();
|
||||
const isProductPro = ref();
|
||||
const { isProductPro } = storeToRefs(globalStore);
|
||||
|
||||
const searchInfo = reactive({
|
||||
ioOption: 'all',
|
||||
|
|
@ -551,7 +552,6 @@ const toUpload = () => {
|
|||
};
|
||||
|
||||
onMounted(() => {
|
||||
isProductPro.value = globalStore.isProductPro;
|
||||
window.addEventListener('focus', onFocus);
|
||||
window.addEventListener('blur', onBlur);
|
||||
loadSafeStatus();
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue