Commit f65609d9 by Kyle_Li

倒计时bug

parent 8756dd7f
......@@ -29,7 +29,7 @@
</ul>
<span slot="footer">
<el-button @click="dialogVisible = false">取消</el-button>
<el-button type="primary" @click="doClean" :disabled="delTime || !trashList.length">{{ delTime ? getDelTime() : '一键清除' }}</el-button>
<el-button type="primary" @click="doClean" :disabled="delTime > 0 || !trashList.length">{{ delTime > 0 ? getDelTime() : '一键清除' }}</el-button>
</span>
</el-dialog>
</div>
......@@ -53,7 +53,7 @@ export default {
trashList: [],
stateComponent: '',
dialogVisible: false,
delTime: 1,
delTime: 0,
interval: undefined
}
},
......
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