|
|
@@ -10,7 +10,9 @@ let queue = [],
|
|
|
|
|
|
Component({
|
|
|
properties: {
|
|
|
- disabled: {type:Boolean}, //禁用
|
|
|
+ disabled: {
|
|
|
+ type: Boolean
|
|
|
+ }, //禁用
|
|
|
},
|
|
|
data: {
|
|
|
sa_contractid: 0,
|
|
|
@@ -25,7 +27,7 @@ Component({
|
|
|
detached: function () {
|
|
|
if (downCounter) {
|
|
|
clearTimeout(downCounter);
|
|
|
- this.changeItem(queue)
|
|
|
+ if (queue.length) this.changeItem(queue)
|
|
|
}
|
|
|
},
|
|
|
},
|