提交 bc3d3b60 编写于 作者: 张磊's avatar 张磊

add my expert

上级 d700f99e
...@@ -11,13 +11,13 @@ ...@@ -11,13 +11,13 @@
style="margin: 10px 0" style="margin: 10px 0"
:data-list="projectList" :data-list="projectList"
/> />
<Loading v-if="showLoading" /> <!-- <Loading v-if="showLoading" />-->
</div> </div>
</template> </template>
<script> <script>
import CommonHeaderNew from '@/components/common/common-header-new'; import CommonHeaderNew from '@/components/common/common-header-new';
import CoopListItem from '@/components/bussiness/coop-list-item'; import CoopListItem from '@/components/bussiness/coop-list-item';
import Loading from '@/components/common/common-loading'; // import Loading from '@/components/common/common-loading';
import { getProjectList } from '@/service'; import { getProjectList } from '@/service';
import { BASE_URL } from '@/utils/enumerate'; import { BASE_URL } from '@/utils/enumerate';
const { NODE_ENV } = process.env; const { NODE_ENV } = process.env;
...@@ -27,12 +27,11 @@ export default { ...@@ -27,12 +27,11 @@ export default {
components: { components: {
CommonHeaderNew, CommonHeaderNew,
CoopListItem, CoopListItem,
Loading, // Loading,
}, },
data() { data() {
return { return {
token: 'D8E0930EAB3E481B9CCA2ECBD2146BAD', token: '',
showLoading: true,
title: '学情报告', title: '学情报告',
projectList: [], projectList: [],
isShowKf: true, isShowKf: true,
...@@ -76,11 +75,11 @@ export default { ...@@ -76,11 +75,11 @@ export default {
token: this.token, token: this.token,
}; };
getProjectList(params).then((res) => { getProjectList(params).then((res) => {
this.showLoading = true; // this.showLoading = true;
if (res.code === '000000') { if (res.code === '000000') {
this.projectList = (res.data && res.data.data) || []; this.projectList = (res.data && res.data.data) || [];
setTimeout(() => { setTimeout(() => {
this.showLoading = false; // this.showLoading = false;
}, 100); }, 100);
// this.$forceUpdate(); // this.$forceUpdate();
// this.$nextTick( () => { // this.$nextTick( () => {
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册