cloud-web-corejs 1.0.54-dev.431 → 1.0.54-dev.433

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,7 +1,7 @@
1
1
  {
2
2
  "name": "cloud-web-corejs",
3
3
  "private": false,
4
- "version": "1.0.54-dev.431",
4
+ "version": "1.0.54-dev.433",
5
5
  "scripts": {
6
6
  "dev": "vue-cli-service serve",
7
7
  "lint": "eslint --ext .js,.vue src",
@@ -1254,7 +1254,7 @@ tViewMixins = {
1254
1254
  document.removeEventListener('paste', this.pasteEvent);
1255
1255
  },
1256
1256
  getFileServerPreviewEnabled(){
1257
- let value = this.$store.getters.fileServerInfo?.fileServerPreviewEnabled ?? (settingConfig.fileServerPreviewEnabled ?? true);
1257
+ let value = window.$vueRoot.$store.getters.fileServerInfo?.fileServerPreviewEnabled ?? (settingConfig.fileServerPreviewEnabled ?? true);
1258
1258
  if(this.$attrs.fileServerPreviewEnabled!== null && this.$attrs.fileServerPreviewEnabled!== undefined){
1259
1259
  value = this.$attrs.fileServerPreviewEnabled
1260
1260
  }
@@ -1290,7 +1290,7 @@ tViewMixins = {
1290
1290
  this.model = this.$attrs.model;
1291
1291
  // this.fileServerInfo = this.$attrs.fileServerInfo;
1292
1292
  } else {
1293
- this.model = this.$store.getters.fileServerInfo?.model ?? null;
1293
+ this.model = window.$vueRoot.$store.getters.fileServerInfo?.model ?? null;
1294
1294
  /* getFileServerInfo(this, (res) => {
1295
1295
  if (res) {
1296
1296
  let fileServerInfo = res;
@@ -63,14 +63,14 @@ indexMixin = {
63
63
  },
64
64
  methods: {
65
65
  getFileServerPreviewEnabled(){
66
- let value = this.$store.getters.fileServerInfo?.fileServerPreviewEnabled ?? (settingConfig.fileServerPreviewEnabled ?? true);
66
+ let value = window.$vueRoot.$store.getters.fileServerInfo?.fileServerPreviewEnabled ?? (settingConfig.fileServerPreviewEnabled ?? true);
67
67
  if(this.option.fileServerPreviewEnabled!== null && this.option.fileServerPreviewEnabled!== undefined){
68
68
  value = this.option.fileServerPreviewEnabled
69
69
  }
70
70
  return value;
71
71
  },
72
72
  getFileShowImageEnabled(){
73
- let value = this.$store.getters.fileServerInfo?.fileShowImageEnabled ?? (settingConfig.fileShowImageEnabled ?? true);
73
+ let value = window.$vueRoot.$store.getters.fileServerInfo?.fileShowImageEnabled ?? (settingConfig.fileShowImageEnabled ?? true);
74
74
  if(this.option.fileShowImageEnabled!== null && this.option.fileShowImageEnabled!== undefined){
75
75
  value = this.option.fileShowImageEnabled
76
76
  }
@@ -14,7 +14,7 @@
14
14
  @change="changeShowValue2"
15
15
  >
16
16
  <i slot="suffix" class="el-input__icon el-icon-search" @click="emitAppendButtonClick"></i>
17
- <span v-show="false">{{ showValue }}</span>
17
+ <span v-show="false">{{ showValue2 }}</span>
18
18
  </el-input>
19
19
  </form-item-wrapper>
20
20
  </template>
@@ -14,7 +14,7 @@
14
14
  @change="changeShowValue2"
15
15
  >
16
16
  <i slot="suffix" class="el-input__icon el-icon-search" @click="emitAppendButtonClick"></i>
17
- <span v-show="false">{{ showValue }}</span>
17
+ <span v-show="false">{{ showValue2 }}</span>
18
18
  </el-input>
19
19
  </form-item-wrapper>
20
20
  </template>
@@ -14,7 +14,7 @@
14
14
  @change="changeShowValue2"
15
15
  >
16
16
  <i slot="suffix" class="el-input__icon el-icon-search" @click="emitAppendButtonClick"></i>
17
- <span v-show="false">{{ showValue }}</span>
17
+ <span v-show="false">{{ showValue2 }}</span>
18
18
  </el-input>
19
19
  </form-item-wrapper>
20
20
  </template>