|
@@ -22,7 +22,8 @@
|
|
|
<div class="l-flex-RC">
|
|
|
<van-image width="50" height="50" fit="contain" :src="showSugerPhoto(item)" />
|
|
|
<span class="o-ml-10" style="color: #000;word-wrap: break-word; width: 50px;">{{ item.name }}</span>
|
|
|
- <van-checkbox class="o-ml-10" checked-color="#2c87c8" shape="square" v-model="shapeStates[index]" @change="shapeChange(index)" />
|
|
|
+ <van-checkbox class="o-ml-10" checked-color="#2c87c8" shape="square" v-model="shapeStates[index]"
|
|
|
+ @change="shapeChange(index)" />
|
|
|
</div>
|
|
|
</van-col>
|
|
|
</van-row>
|
|
@@ -33,7 +34,8 @@
|
|
|
<div class="l-flex-RC">
|
|
|
<van-image width="50" height="50" fit="contain" :src="showSugerPhoto(item)" />
|
|
|
<span class="o-ml-10" style="color: #000;word-wrap: break-word; width: 50px;">{{ item.name }}</span>
|
|
|
- <van-checkbox class="o-ml-10" checked-color="#2c87c8" shape="square" v-model="sugarStates[index]" @change="sugarChange(index)" />
|
|
|
+ <van-checkbox class="o-ml-10" checked-color="#2c87c8" shape="square" v-model="sugarStates[index]"
|
|
|
+ @change="sugarChange(index)" />
|
|
|
</div>
|
|
|
</van-col>
|
|
|
</van-row>
|
|
@@ -198,7 +200,7 @@ export default {
|
|
|
}
|
|
|
}).catch((error) => {
|
|
|
console.log(error);
|
|
|
- Toast.fail(t('device.unknownError'));
|
|
|
+ // Toast.fail(t('device.unknownError'));
|
|
|
});
|
|
|
}
|
|
|
|
|
@@ -227,8 +229,11 @@ export default {
|
|
|
// }, 1000);
|
|
|
}).catch((error) => {
|
|
|
console.log(error);
|
|
|
- Toast.fail(t('device.unknownError'));
|
|
|
+ // Toast.fail(t('device.unknownError'));
|
|
|
});
|
|
|
+ }).catch((error) => {
|
|
|
+ console.log(error);
|
|
|
+ // Toast.fail(t('device.unknownError'));
|
|
|
});
|
|
|
};
|
|
|
const activeNames = ref(['1', '2']);
|