MCPcopy Create free account
hub / github.com/MankaiHuang/screen-visualization / isHavetab

Function isHavetab

public/iframe/lib/js/commonFun.js:226–234  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

224 }
225 },
226 isHavetab() {
227 // 判断页面是否存在tab组件 若存在tab组件则获取其绑定的值
228 this.templateList.some(item => {
229 if (item.property.componentsType === 'pagination') {
230 this.linkTemplateList = item.property.multLink
231 return true
232 }
233 })
234 },
235 async setValue(property, name, value) {
236 // 给组件设置属性
237 // property: 组件的property属性

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected