fix: 页面字段/接口调整
This commit is contained in:
@@ -354,7 +354,7 @@ function fnGetList() {
|
||||
const neType = state.neType[0];
|
||||
state.mmlNeType = neType;
|
||||
getMMLByNE(neType).then(res => {
|
||||
if (res.code === RESULT_CODE_SUCCESS && Array.isArray(res.data)) {
|
||||
if (res.code === RESULT_CODE_SUCCESS) {
|
||||
// 构建自动完成筛选结构
|
||||
const autoCompleteArr: Record<string, any>[] = [];
|
||||
// 构建树结构
|
||||
@@ -539,7 +539,7 @@ function fnAutoCompleteKeydown(evt: any) {
|
||||
onMounted(() => {
|
||||
// 获取网元网元列表
|
||||
neInfoStore.fnNelist().then(res => {
|
||||
if (res.code === RESULT_CODE_SUCCESS && Array.isArray(res.data)) {
|
||||
if (res.code === RESULT_CODE_SUCCESS) {
|
||||
if (res.data.length > 0) {
|
||||
// 过滤不可用的网元
|
||||
neCascaderOptions.value = neInfoStore.getNeCascaderOptions.filter(
|
||||
|
||||
Reference in New Issue
Block a user