|
@@ -75,6 +75,8 @@
|
|
|
import { nextTick, onMounted, reactive, ref } from 'vue';
|
|
|
import { useMessage } from '@/hooks/web/useMessage';
|
|
|
import AdwebCreateSite from '@/views/adweb/theme/components/AdwebCreateSite.vue';
|
|
|
+ import { useGlobSetting } from '@/hooks/setting';
|
|
|
+ const globSetting = useGlobSetting();
|
|
|
|
|
|
const url = reactive({
|
|
|
list: '/adweb/adwebTheme/list',
|
|
@@ -87,7 +89,7 @@
|
|
|
getAdwebVipUrl: 'adweb/adwebSiteManage/getAdwebVip',
|
|
|
});
|
|
|
|
|
|
- const domainUrl = ref(window._CONFIG.domianURL);
|
|
|
+ const domainUrl = ref(globSetting.apiUrl);
|
|
|
|
|
|
const userRole = ref('');
|
|
|
|