@@ -40,6 +40,8 @@ Vue.prototype.isAuth = isAuth // 权限方法
// 保存整站vuex本地储存初始状态
window.SITE_CONFIG['storeState'] = cloneDeep(store.state)
+// 禁止复制
+// document.onselectstart = function () { return false }
/* eslint-disable no-new */
new Vue({
@@ -35,7 +35,6 @@
node-key="orgId"
ref="orgListData"
:default-expand-all="true"
- :highlight-current="true"
show-checkbox>
</el-tree>
</el-form-item>
@@ -89,6 +88,8 @@
methods: {
init (id) {
this.dataForm.id = id || 0
+ this.menuList = []
+ this.orgList = []
this.$http({
url: this.$http.adornUrl('/user-service/menu/tree'),
method: 'get',
@@ -96,7 +96,7 @@
},
dataList: [],
pageIndex: 1,
- pageSize: 10,
+ pageSize: 100,
totalPage: 0,
dataListLoading: false,
dataListSelections: [],