vue2-client 1.13.17 → 1.13.18

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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "vue2-client",
3
- "version": "1.13.17",
3
+ "version": "1.13.18",
4
4
  "private": false,
5
5
  "scripts": {
6
6
  "serve": "SET NODE_OPTIONS=--openssl-legacy-provider && vue-cli-service serve --no-eslint",
@@ -14,9 +14,9 @@
14
14
  >
15
15
  <a-select-option v-for="item of resListCp" :key="item.value" :value="item.value">{{ item.label }}</a-select-option>
16
16
  </a-select>
17
- <!-- <template v-if="this.modeType !== 'readonly' && this.resId !== -1">-->
18
- <!-- <a-button icon="plus" @click="addRes"/>-->
19
- <!-- </template>-->
17
+ <template v-if="this.modeType !== 'readonly' && this.resId !== -1">
18
+ <a-button icon="plus" @click="addRes"/>
19
+ </template>
20
20
  </template>
21
21
  <a-radio-group
22
22
  v-show="showModeChoose"
@@ -304,10 +304,11 @@ export default {
304
304
  },
305
305
  // 新建文档
306
306
  addRes () {
307
- const params = Object.assign({
308
- isAddForce: true
309
- }, this.logicExtraParams)
310
- this.reload(params)
307
+ this.$emit('add', {})
308
+ // const params = Object.assign({
309
+ // isAddForce: true
310
+ // }, this.logicExtraParams)
311
+ // this.reload(params)
311
312
  },
312
313
  // 重新加载
313
314
  reload (params) {
@@ -182,7 +182,8 @@ export default {
182
182
  }
183
183
 
184
184
  .tree-expand-all {
185
- margin-left: 5px;
185
+ float: right;
186
+ margin-right: 15px;
186
187
  font-size: 14px;
187
188
  font-weight: 400;
188
189
  color: #5D5C5C;