【类 型】:fix
【原 因】:1.机型更新模块 却最大载重字段 导致上传错误 2.导航栏 由于飞机更新不及时 显示完整,watch里面深度监控 更新组件 【过 程】: 【影 响】: # 类型 包含: # feat:新功能(feature) # fix:修补bug # docs:文档(documentation) # style: 格式(不影响代码运行的变动) # refactor:重构(即不是新增功能,也不是修改bug的代码变动) # test:增加测试 # chore:构建过程或辅助工具的变动
This commit is contained in:
parent
07d9fef741
commit
e4d2678458
@ -529,6 +529,7 @@ const store = new Vuex.Store({
|
||||
params.append('class_name', form.class_name)
|
||||
params.append('wheelbase', form.wheelbase)
|
||||
params.append('category', form.category)
|
||||
params.append('weight_max', form.weight_max)
|
||||
params.append('describe', form.describe)
|
||||
const res = await api.post('savePlaneClass', params)
|
||||
if (res.data.status === 1) {
|
||||
|
@ -161,9 +161,13 @@ export default {
|
||||
/**
|
||||
* @description: 监听飞机列表 有刷新导航栏
|
||||
*/
|
||||
airList (val) {
|
||||
this.loadRoute(val)
|
||||
this.$forceUpdate()// 刷新本组件
|
||||
airList: {
|
||||
handler (val) {
|
||||
this.loadRoute(val)
|
||||
this.$forceUpdate()// 刷新本组件
|
||||
},
|
||||
immediate: true, // 立即执行一次
|
||||
deep: true // 深度监听
|
||||
},
|
||||
isTap (val) {
|
||||
if (val) {
|
||||
|
Loading…
Reference in New Issue
Block a user