askbot-dragon 0.9.15 → 0.9.16
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/src/components/tree.vue +1 -1
package/package.json
CHANGED
package/src/components/tree.vue
CHANGED
|
@@ -108,7 +108,6 @@ export default {
|
|
|
108
108
|
setCascadeOption(){
|
|
109
109
|
let options = [];
|
|
110
110
|
let arr = []
|
|
111
|
-
console.debug('dataOptions',this.dataOptions)
|
|
112
111
|
if (this.dataOptions.extInfo && (this.dataOptions.extInfo.cascadeDown || this.dataOptions.extInfo.cascade)){
|
|
113
112
|
arr = this.dataOptions.extInfo.cascadeDown.options ? this.dataOptions.extInfo.cascadeDown.options :
|
|
114
113
|
(this.dataOptions.extInfo.cascadeDown[0] ? this.dataOptions.extInfo.cascadeDown[0].options :
|
|
@@ -146,6 +145,7 @@ export default {
|
|
|
146
145
|
let flag = null
|
|
147
146
|
for (let i = 0; i < options.length; i++) {
|
|
148
147
|
const optArr = options[i];
|
|
148
|
+
item.checked = false;
|
|
149
149
|
if(optArr.indexOf(item.value) !== -1) {
|
|
150
150
|
if(parent === null || item.children && item.children.length != 0) {
|
|
151
151
|
flag = true
|