10 2020 档案

摘要:<SG-Tree showIcon v-model="selectValue" > </SG-Tree> props: { selectedKeys: {// 改model值是外界传入的 type: Array, default: () => { return [] } } } data () { 阅读全文
posted @ 2020-10-21 12:39 小番茄酱 阅读(887) 评论(0) 推荐(0)
摘要:使用$refs调用组件内方法报错 解决办法:断言 注意上面那个要加;号 不然会报错 this.selectOrganName = checkedOptions.organName; (this.$refs.select as any).changeVisible(false) 阅读全文
posted @ 2020-10-16 20:15 小番茄酱 阅读(191) 评论(0) 推荐(0)