Commit 9fb866ff by 无尘

fix: 修改重复选择清空 url

parent 9d64da2a
...@@ -721,6 +721,9 @@ export default { ...@@ -721,6 +721,9 @@ export default {
twoLevelValueChange(e) { twoLevelValueChange(e) {
var that = this var that = this
console.log("二级选择值:",e) console.log("二级选择值:",e)
// 清空已经选择
that.selectLinkObj.name = '';
that.selectLinkObj.url = '';
// 判断自定义 // 判断自定义
if (that.oneLevelTypeValue == 6) { if (that.oneLevelTypeValue == 6) {
......
...@@ -716,6 +716,9 @@ export default { ...@@ -716,6 +716,9 @@ export default {
twoLevelValueChange(e) { twoLevelValueChange(e) {
var that = this var that = this
console.log("二级选择值:",e) console.log("二级选择值:",e)
// 清空已经选择
that.selectLinkObj.name = '';
that.selectLinkObj.url = '';
// 判断自定义 // 判断自定义
if (that.oneLevelTypeValue == 6) { if (that.oneLevelTypeValue == 6) {
......
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