mirror of
http://git.coreshop.cn/jianweie/coreshoppro.git
synced 2025-12-06 19:43:26 +08:00
【优化】优化小程序底部版权信息加载可能为空的情况,优化后台首页登录后面板说明文字错误的显示。
This commit is contained in:
@@ -13,13 +13,30 @@
|
||||
</template>
|
||||
|
||||
<script>
|
||||
import { mapState } from 'vuex';
|
||||
export default {
|
||||
data() {
|
||||
return {
|
||||
shopBeiAn: this.$store.state.config.shopBeiAn || '',
|
||||
shopName: this.$store.state.config.shopName || ''
|
||||
//shopBeiAn: this.$store.state.config.shopBeiAn || '',
|
||||
//shopName: this.$store.state.config.shopName || ''
|
||||
}
|
||||
}
|
||||
},
|
||||
computed: {
|
||||
...mapState({
|
||||
shopBeiAn: state => state.config.shopBeiAn,
|
||||
shopName: state => state.config.shopName,
|
||||
}),
|
||||
shopBeiAn: {
|
||||
get() {
|
||||
return this.$store.state.config.shopBeiAn;
|
||||
}
|
||||
},
|
||||
shopName: {
|
||||
get() {
|
||||
return this.$store.state.config.shopName;
|
||||
}
|
||||
},
|
||||
},
|
||||
}
|
||||
</script>
|
||||
<style scoped lang="scss">
|
||||
|
||||
@@ -268,7 +268,7 @@
|
||||
, data: data.data
|
||||
, page: false //开启分页
|
||||
, cols: [[ //表头
|
||||
{ field: 'os', title: '状态' }
|
||||
{ field: 'os', title: '浏览器类型' }
|
||||
, { field: 'username', title: '登录用户' }
|
||||
, { field: 'createTime', title: '记录时间' }
|
||||
, { field: 'ip', title: '登录IP' }
|
||||
|
||||
Reference in New Issue
Block a user