fix:修复traffic配置页面可能刷新页面的问题
This commit is contained in:
@@ -10,7 +10,7 @@
|
||||
<el-input :disabled="true" v-model="dc.name"></el-input>
|
||||
</el-form-item>
|
||||
<traffic-setting-tab ref="trafficSetting" :post-asset-list="assetList" v-for="(item,index) in traffic.setting" :index="index" :asset-setting="item" :key="uuids[index]" :id="uuids[index]" @delSelf="delAssetSetting" :validate-repeat-func="valiateRepeatFunc"></traffic-setting-tab>
|
||||
<button @click="addAssetSetting" class="nz-btn nz-btn-size-normal-new nz-btn-style-light-new" style="margin:5px 1px 5px 70px">{{$t('config.dc.traffic.add')}}</button>
|
||||
<button type="button" @click="addAssetSetting" class="nz-btn nz-btn-size-normal-new nz-btn-style-light-new" style="margin:5px 1px 5px 70px">{{$t('config.dc.traffic.add')}}</button>
|
||||
</el-form>
|
||||
</el-scrollbar>
|
||||
|
||||
|
||||
@@ -107,7 +107,7 @@
|
||||
</el-row>
|
||||
</template>
|
||||
</div>
|
||||
<button slot="reference" class="nz-btn nz-btn-size-normal nz-btn-style-light" id="snmp-advanced">
|
||||
<button type="button" slot="reference" class="nz-btn nz-btn-size-normal nz-btn-style-light" id="snmp-advanced">
|
||||
<i class="el-icon-more"></i>
|
||||
</button>
|
||||
</el-popover>
|
||||
@@ -626,8 +626,7 @@
|
||||
border-bottom-left-radius: 0px;
|
||||
height: 30px;
|
||||
position: relative;
|
||||
left: -4px;
|
||||
top:1px;
|
||||
left: -3px;
|
||||
}
|
||||
.asset-config-tab .right-box-row-with-btn{
|
||||
width: calc(100% - 69px);
|
||||
|
||||
@@ -728,7 +728,7 @@
|
||||
if (response2.code === 200) {
|
||||
this.esc();
|
||||
this.$message({duration: 1000, type: 'success', message: this.$t("tip.saveSuccess")});
|
||||
this.$refs.chartForm.resetFields();//清空表单
|
||||
// this.$refs.chartForm.resetFields();//清空表单
|
||||
this.$emit('on-create-success', 'update', response2.data, params);
|
||||
} else {
|
||||
if(response2.msg){
|
||||
|
||||
Reference in New Issue
Block a user