...
|
...
|
@@ -48,12 +48,14 @@ export default { |
|
|
|
|
|
store.dispatch('getFaultList', params).then((res) => {
|
|
|
if (res.data && res.success) {
|
|
|
dialTest.value = res.data[0];
|
|
|
let arr = [];
|
|
|
for (var i = 1; i < res.data.length; i++) {
|
|
|
arr.push(res.data[i])
|
|
|
if(res.data.length > 0){
|
|
|
dialTest.value = res.data[0];
|
|
|
let arr = [];
|
|
|
for (var i = 1; i < res.data.length; i++) {
|
|
|
arr.push(res.data[i])
|
|
|
}
|
|
|
card.value = arr;
|
|
|
}
|
|
|
card.value = arr;
|
|
|
}
|
|
|
}).catch(e => {
|
|
|
console.log(e);
|
...
|
...
|
|