随笔分类 -  VUE

摘要:传值: openFlowSchemeList(scope) { this.$router.push({ 'name': 'flowSchemeList' ,query:{flowinfo:scope.row}}); } 路由配置: { path: 'workFlow', permission: 'P 阅读全文
posted @ 2022-07-14 17:47 liaer 阅读(60) 评论(0) 推荐(0)
摘要:父组件部分 <create-Info v-model="createModalShow" :flowInfo="selectFlowInfo" @save-success="getpage"></create-Info > <script lang="ts"> import CreateInfo f 阅读全文
posted @ 2022-07-14 17:44 liaer 阅读(263) 评论(0) 推荐(0)
摘要:常规写法,Typescript 会提示错误,且编译不通过,需要改成如下方式: let el: any = this.$refs.treeJob; el.setCurrentKey(6); 阅读全文
posted @ 2022-07-14 11:05 liaer 阅读(397) 评论(0) 推荐(0)