feat: 异步动态加载组件-computed的妙用

master
LCJ-MinYa 3 months ago
parent f435b831c2
commit c6ee1d548a

@ -52,6 +52,7 @@ export default {
* 001 显示到moduleA-item1 * 001 显示到moduleA-item1
* 002 显示到moduleA-item2 * 002 显示到moduleA-item2
* 注意这里的moduleAStep是根据接口返回值来改变的渲染组件是由computed计算属性的allComponents来决定 * 注意这里的moduleAStep是根据接口返回值来改变的渲染组件是由computed计算属性的allComponents来决定
* computed的妙用注意这里的示例
*/ */
moduleAStep: '000', moduleAStep: '000',
}; };

Loading…
Cancel
Save