Commit 76fce427 authored by linxin's avatar linxin

fix:修改用户绑定

parent aa208f42
...@@ -274,18 +274,11 @@ export default { ...@@ -274,18 +274,11 @@ export default {
} }
}, },
tabNum: function (newVal, oldVal) { tabNum: function (newVal, oldVal) {
// if (
// (newVal === 1 && !window.sessionStorage.user_id) ||
// (newVal === 2 && !window.sessionStorage.user_id)
// ) {
// this.hlsPopup.showError('清先保存基本信息')
// this.tabNum = oldVal
// }
if ( if (
(newVal === 1 && !this.isSave) || (newVal === 1 && !this.isSave) ||
(newVal === 2 && !this.isSave) (newVal === 2 && !this.isSave)
) { ) {
this.hlsPopup.showError('先保存基本信息') this.hlsPopup.showError('先保存基本信息')
this.tabNum = oldVal this.tabNum = oldVal
} }
}, },
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment