|
@@ -166,11 +166,9 @@ export default {
|
|
if (result.errcode === 0) {
|
|
if (result.errcode === 0) {
|
|
let columns = result.data;
|
|
let columns = result.data;
|
|
for (const col of columns) {
|
|
for (const col of columns) {
|
|
- console.log(col);
|
|
|
|
if (col.type === 'content') {
|
|
if (col.type === 'content') {
|
|
col.path = `/detail/${col.content_id}`;
|
|
col.path = `/detail/${col.content_id}`;
|
|
} else if (col.type === 'bugList') {
|
|
} else if (col.type === 'bugList') {
|
|
- console.log('in function:');
|
|
|
|
col.path = `/newsList/menu/${col.content_id}?title=${col.title}`;
|
|
col.path = `/newsList/menu/${col.content_id}?title=${col.title}`;
|
|
} else if (col.type !== 'url') {
|
|
} else if (col.type !== 'url') {
|
|
col.path = `/newsList/menu/${col.id}?title=${col.title}`;
|
|
col.path = `/newsList/menu/${col.id}?title=${col.title}`;
|