|
@@ -2,9 +2,9 @@
|
|
|
<div id="index">
|
|
|
<el-row>
|
|
|
<el-col :span="24" class="main animate__animated animate__backInRight" v-loading="loading">
|
|
|
- <Cpersonal v-if="user.type=='4'"></Cpersonal>
|
|
|
- <Ccompany v-else-if="user.type=='5'" :user="user"></Ccompany>
|
|
|
- <Cexpert v-else-if="user.type=='6'"></Cexpert>
|
|
|
+ <Cpersonal v-if="user.type == '4'"></Cpersonal>
|
|
|
+ <Ccompany v-else-if="user.type == '5'" :user="user"></Ccompany>
|
|
|
+ <Cexpert v-else-if="user.type == '6'"></Cexpert>
|
|
|
</el-col>
|
|
|
</el-row>
|
|
|
</div>
|
|
@@ -12,9 +12,9 @@
|
|
|
|
|
|
<script setup lang="ts">
|
|
|
// 基础
|
|
|
-import Cpersonal from "./parts/c-personal.vue";
|
|
|
-import Ccompany from "./parts/c-company.vue";
|
|
|
-import Cexpert from "./parts/c-expert.vue";
|
|
|
+import Cpersonal from './parts/c-personal.vue';
|
|
|
+import Ccompany from './parts/c-company.vue';
|
|
|
+import Cexpert from './parts/c-expert.vue';
|
|
|
import store from '@/stores/counter';
|
|
|
import type { Ref } from 'vue';
|
|
|
import { onMounted, ref } from 'vue';
|