组织换届
This commit is contained in:
@@ -42,6 +42,11 @@ export default {
|
|||||||
appName: "组织换届",
|
appName: "组织换届",
|
||||||
computed: {
|
computed: {
|
||||||
...mapState(['user']),
|
...mapState(['user']),
|
||||||
|
formatTime() {
|
||||||
|
return function (time) {
|
||||||
|
return time && time.substring(0, 10);
|
||||||
|
}
|
||||||
|
}
|
||||||
},
|
},
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
@@ -86,16 +91,6 @@ export default {
|
|||||||
})
|
})
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
computed: {
|
|
||||||
user() {
|
|
||||||
return uni.getStorageSync("userInfo")
|
|
||||||
},
|
|
||||||
formatTime() {
|
|
||||||
return function (time) {
|
|
||||||
return time && time.substring(0, 10);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
<style lang="scss" scoped>
|
<style lang="scss" scoped>
|
||||||
|
|||||||
Reference in New Issue
Block a user