Commit a93f630b authored by 沈良进's avatar 沈良进

酒店分类问题修复

parent 152509c7
...@@ -676,7 +676,7 @@ handleNodeClick(data, checked, node) { ...@@ -676,7 +676,7 @@ handleNodeClick(data, checked, node) {
msg, msg,
res => { res => {
if (res.data.resultCode == 1) { if (res.data.resultCode == 1) {
this.checkedId = res.data.data.WebSiteCategoryIds this.checkedId = res.data.data.WebSiteCategoryIds || []
this.$refs.treeForm.setCheckedKeys([res.data.data.WebSiteCategoryIds.split(',').pop()]); this.$refs.treeForm.setCheckedKeys([res.data.data.WebSiteCategoryIds.split(',').pop()]);
_self.addMsg = res.data.data; _self.addMsg = res.data.data;
if (_self.addMsg.Country > 0) { if (_self.addMsg.Country > 0) {
......
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