|
@@ -3,12 +3,20 @@ import { onMounted, ref } from 'vue'
|
|
|
import { base_url } from '@/utils/http'
|
|
|
|
|
|
const ipc = ref<any>()
|
|
|
+const path = ref<any>()
|
|
|
|
|
|
onMounted(() => {
|
|
|
-
|
|
|
- if (base_url == 'http://123.57.18.29:8089') {
|
|
|
+ path.value = base_url
|
|
|
+ // if (base_url == 'http://123.57.18.29:8089') {
|
|
|
+ // ipc.value = '粤ICP备2025386772号-2'
|
|
|
+ // }
|
|
|
+ // if (base_url == 'http://129.211.221.44:8089') {
|
|
|
+ // ipc.value = '粤ICP备2025386772号-1'
|
|
|
+ // }
|
|
|
+
|
|
|
+ if (path.value == 'http://123.57.18.29:8089') {
|
|
|
ipc.value = '粤ICP备2025386772号-2'
|
|
|
- } else if (base_url == 'http://129.211.221.44:8089') {
|
|
|
+ } else if (path.value == 'http://129.211.221.44:8089') {
|
|
|
ipc.value = '粤ICP备2025386772号-1'
|
|
|
}
|
|
|
|