mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-17 02:31:34 +08:00
test(segment-view): fix test
This commit is contained in:
@ -130,11 +130,12 @@
|
||||
</ion-footer>
|
||||
|
||||
<script>
|
||||
let currentValue;
|
||||
|
||||
function changeSegmentContent() {
|
||||
const segment = document.querySelector('#noValueSegment');
|
||||
const segmentView = document.querySelector('#noValueSegmentView');
|
||||
|
||||
let currentValue = segment.value;
|
||||
|
||||
if (currentValue === 'value') {
|
||||
currentValue = 'no';
|
||||
} else {
|
||||
|
Reference in New Issue
Block a user