|
@@ -49,11 +49,9 @@
|
|
|
getCategoryVersion().then(res => {
|
|
getCategoryVersion().then(res => {
|
|
|
if (!uni.getStorageSync('CAT_VERSION') || res.data.version != uni.getStorageSync(
|
|
if (!uni.getStorageSync('CAT_VERSION') || res.data.version != uni.getStorageSync(
|
|
|
'CAT_VERSION')) {
|
|
'CAT_VERSION')) {
|
|
|
- this.isNew = !this.isNew
|
|
|
|
|
- console.log('变了')
|
|
|
|
|
|
|
+ this.isNew = !this.isNew
|
|
|
uni.setStorageSync('CAT_VERSION', res.data.version)
|
|
uni.setStorageSync('CAT_VERSION', res.data.version)
|
|
|
- } else {
|
|
|
|
|
- console.log('没变')
|
|
|
|
|
|
|
+ } else {
|
|
|
// this.isNew = false
|
|
// this.isNew = false
|
|
|
}
|
|
}
|
|
|
this.classStyle();
|
|
this.classStyle();
|