diff --git a/src/router/modules/demo.ts b/src/router/modules/demo.ts index 7a30dda..7b52f8f 100644 --- a/src/router/modules/demo.ts +++ b/src/router/modules/demo.ts @@ -146,6 +146,10 @@ const titleArr = [ key: 'computedRules', title: 'ElementUI的form组件使用rules时动态计算并传入组件实例', }, + { + key: 'computedWithEnumList', + title: '接口返回数据需要根据多个枚举值动态计算结果渲染(多个枚举值是接口返回,并且不知道具体返回时间)', + }, ]; // @/views/demo/**/*.vue diff --git a/src/views/demo/computedWithEnumList/index.vue b/src/views/demo/computedWithEnumList/index.vue new file mode 100644 index 0000000..977e565 --- /dev/null +++ b/src/views/demo/computedWithEnumList/index.vue @@ -0,0 +1,40 @@ + + + + +