套餐管理
This commit is contained in:
parent
870d8c473b
commit
3cf617d2c8
@ -128,7 +128,7 @@ export function objectDot(object, prepend = '') {
|
||||
if ((typeof object[k] == 'object') && Object.keys(object[k]).length) {
|
||||
results = Object.assign(results, objectDot(object[k], prepend + k + '.'));
|
||||
} else {
|
||||
if (object[k]) {
|
||||
if (object[k] || object[k] === 0) {
|
||||
results[prepend + k] = object[k];
|
||||
}
|
||||
}
|
||||
|
@ -78,7 +78,8 @@ export default {
|
||||
},
|
||||
{
|
||||
title: '说明',
|
||||
key: 'description'
|
||||
key: 'description',
|
||||
minWidth: 100
|
||||
},
|
||||
{
|
||||
title: '创建时间',
|
||||
@ -187,7 +188,7 @@ export default {
|
||||
index(page = 1) {
|
||||
let type = this.$route.query.type;
|
||||
|
||||
if (typeof(type) === 'undefined') {
|
||||
if (typeof (type) === 'undefined') {
|
||||
this.$Message.error('非法请求');
|
||||
return;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user