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