1
This commit is contained in:
@@ -16,11 +16,11 @@
|
||||
<TencentDocConfig ref="tendocConfig" />
|
||||
</el-tab-pane>
|
||||
|
||||
<el-tab-pane label="WPS365" name="wps365">
|
||||
<el-tab-pane label="金山文档" name="kdocs">
|
||||
<span slot="label">
|
||||
<i class="el-icon-document-copy"></i> WPS365
|
||||
<i class="el-icon-document-copy"></i> 金山文档
|
||||
</span>
|
||||
<WPS365Config ref="wps365Config" />
|
||||
<KdocsCloudConfig ref="kdocsConfig" />
|
||||
</el-tab-pane>
|
||||
</el-tabs>
|
||||
</el-card>
|
||||
@@ -29,13 +29,13 @@
|
||||
|
||||
<script>
|
||||
import TencentDocConfig from './components/TencentDocConfig'
|
||||
import WPS365Config from './components/WPS365Config'
|
||||
import KdocsCloudConfig from './components/KdocsCloudConfig'
|
||||
|
||||
export default {
|
||||
name: 'DocSync',
|
||||
components: {
|
||||
TencentDocConfig,
|
||||
WPS365Config
|
||||
KdocsCloudConfig
|
||||
},
|
||||
data() {
|
||||
return {
|
||||
@@ -48,8 +48,8 @@ export default {
|
||||
this.$nextTick(() => {
|
||||
if (tab.name === 'tendoc' && this.$refs.tendocConfig) {
|
||||
this.$refs.tendocConfig.refresh()
|
||||
} else if (tab.name === 'wps365' && this.$refs.wps365Config) {
|
||||
this.$refs.wps365Config.refresh()
|
||||
} else if (tab.name === 'kdocs' && this.$refs.kdocsConfig) {
|
||||
this.$refs.kdocsConfig.refresh()
|
||||
}
|
||||
})
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user