| | |
| | | @click="updateSetting(scope.row)" |
| | | key="danger" |
| | | type="primary" |
| | | :disabled="scope.row.settingKey === 'pyFile'" |
| | | link |
| | | >修改 |
| | | </el-button> |
| | |
| | | @click="deleteSetting(props.row.methodSettings,scope.$index)" |
| | | key="danger" |
| | | type="danger" |
| | | :disabled="scope.row.settingKey === 'pyFile'" |
| | | link |
| | | >删除 |
| | | </el-button> |
| | |
| | | ], |
| | | menuAndGroup: [ |
| | | {required: true, message: '所属目录不能为空', trigger: 'blur'} |
| | | ], |
| | | icon: [ |
| | | {required: true, message: 'icon不能为空', trigger: 'blur'} |
| | | ], |
| | | }) |
| | | |
| | |
| | | if (id) { |
| | | formLoading.value = true |
| | | try { |
| | | debugger |
| | | formData.value = await MpkApi.getMpk(id) |
| | | debugger |
| | | } finally { |
| | | formLoading.value = false |
| | | } |