|
|
@@ -17,6 +17,7 @@
|
|
|
<script lang="ts" setup>
|
|
|
import emptyBG from "@/assets/image/empty__empty.png";
|
|
|
import { RouteName, router } from "@/router";
|
|
|
+const appId = import.meta.env.VITE_APP_APP
|
|
|
const props = withDefaults(
|
|
|
defineProps<{
|
|
|
showBtn: boolean;
|
|
|
@@ -26,7 +27,12 @@ const props = withDefaults(
|
|
|
}
|
|
|
);
|
|
|
const toHome = () => {
|
|
|
- router.replace({ name: RouteName.dispatch });
|
|
|
+ if(['criminal'].includes(appId)){
|
|
|
+ // criminal跳转
|
|
|
+ router.replace({ name: RouteName.example });
|
|
|
+ } else {
|
|
|
+ router.replace({ name: RouteName.dispatch });
|
|
|
+ }
|
|
|
};
|
|
|
</script>
|
|
|
<style lang="scss" scoped>
|