Commit d0c6c5b5 by 陈超

A

parent 2ecfcc4c
...@@ -95,13 +95,19 @@ ...@@ -95,13 +95,19 @@
}, },
computed: { computed: {
showHollow: function(index) { showHollow: function(index) {
return index != 1 && index != 2 return function(index) {
return index != 1 && index != 2
}
}, },
showSolid: function(index) { showSolid: function(index) {
return index == 0 return function(index) {
return index == 0
}
}, },
hollowText: function(index) { hollowText: function(index) {
return index == 0 ? '取消订单' : '删除订单' return function(index) {
return index == 0 ? '取消订单' : '删除订单'
}
} }
}, },
methods: { methods: {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment