提交 cddc1f88 编写于 作者: KK's avatar KK

app span 代码调整

上级 27dbd856
...@@ -160,19 +160,13 @@ export default class AppSpan extends Vue { ...@@ -160,19 +160,13 @@ export default class AppSpan extends Vue {
if (Object.is(this.codeListType, "STATIC")) { if (Object.is(this.codeListType, "STATIC")) {
return; return;
} }
if (!this.isCached) { let param: any = {context:{},param:{}};
// Loading.show(this.$t('app.loadding')); this.handleOtherParam(param);
} let tempParam = param.param;
if(tempParam){
let param: any = {}; Object.assign(tempParam,this.queryParam);
const bcancel: boolean = this.handleOtherParam(param);
if (!bcancel) {
return
}
let response: any = await this.codeListService.getItems(this.tag, param.context, param.param);
if (!this.isCached) {
// Loading.hidden();
} }
let response: any = await this.codeListService.getItems(this.tag, param.context,tempParam);
if (response) { if (response) {
this.items = response; this.items = response;
this.setText(); this.setText();
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册