|
@@ -157,7 +157,8 @@ async function onClick(node) {
|
|
|
|
|
|
//点击详情跳转
|
|
//点击详情跳转
|
|
function onDetail(node) {
|
|
function onDetail(node) {
|
|
- let type = listArr[0].children.filter(v => v.id == node.pid)[0].itemValue
|
|
|
|
|
|
+ let str = listArr[0].children.filter(v => v.id == node.pid)[0].itemValue
|
|
|
|
+ let type=str.indexOf('&')!=-1 ? str.substring(0,str.indexOf('&')) : ''
|
|
console.log(type, 'type--------')
|
|
console.log(type, 'type--------')
|
|
switch (type) {
|
|
switch (type) {
|
|
case 'pulping'://注浆
|
|
case 'pulping'://注浆
|