Skip to content

Commit f62fbaf

Browse files
committed
Merge branch 'fixbug-dataGovernance' into hotfix/20211202
2 parents 102b836 + 0cf7c0b commit f62fbaf

File tree

3 files changed

+14
-9
lines changed

3 files changed

+14
-9
lines changed

web/src/apps/dataGovernance/view/assetsInfo/components/lineage/index.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ export default {
1313
name: 'lineage',
1414
data() {
1515
return {
16-
canvas: null
16+
canvas: null,
1717
}
1818
},
1919
props: {

web/src/apps/dataGovernance/view/assetsInfo/index.vue

Lines changed: 11 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@
4141
<div class="assets-info-b-l-content-item">
4242
<label for="comment">描述</label>
4343
<span v-show="!isCommentEdit">{{ basicData.comment }}</span>
44-
<Input
44+
<!-- <Input
4545
v-show="isCommentEdit"
4646
v-model="basicData.comment"
4747
size="small"
@@ -59,7 +59,7 @@
5959
v-else
6060
@click="editSingleComment"
6161
style="float:right;cursor: pointer;"
62-
></Icon>
62+
></Icon> -->
6363
</div>
6464
<div class="assets-info-b-l-content-item" style="overflow: hidden">
6565
<label for="labels">标签</label>
@@ -77,10 +77,17 @@
7777
<Input
7878
v-show="isLabelEdit"
7979
v-model="singleLabel"
80+
style="width: 135px;"
8081
size="small"
8182
placeholder=""
8283
@on-enter="editSingleLabel"
8384
/>
85+
<Icon
86+
type="md-checkmark"
87+
v-show="isLabelEdit"
88+
@click="editSingleLabel"
89+
style="margin-left: 8px; cursor: pointer;"
90+
></Icon>
8491
<span
8592
v-for="label in labelOptions"
8693
:key="label"
@@ -163,7 +170,7 @@
163170
<div class="dagreLayout-page" v-if="lineageData">
164171
<lineage
165172
class="flow-canvas"
166-
id="dag-canvas"
173+
id='dag-canvas'
167174
:lineageData="lineageData"
168175
></lineage>
169176
</div>
@@ -367,9 +374,7 @@ export default {
367374
item.store = item.store + "";
368375
let tempLen = Math.floor(item.store.length / 4);
369376
let len = tempLen > 2 ? 3 : tempLen;
370-
item.store = (
371-
item.store / Math.pow(1024, len + 1)
372-
).toFixed(2);
377+
item.store = (item.store / Math.pow(1024, len + 1)).toFixed(2);
373378
switch (len) {
374379
case 0:
375380
item.store = item.store + "KB";

web/vue.config.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -247,10 +247,10 @@ module.exports = {
247247
devServer: {
248248
proxy: {
249249
"/api": {
250-
//target: "http://***REMOVED***:8088",
250+
target: "http://***REMOVED***:8088",
251251
//target: 'http://***REMOVED***:9202', //yichao
252252
// target: "http://***REMOVED***:9202", //jiawei
253-
target: "http://luban.ctyun.cn:8088",
253+
// target: "http://luban.ctyun.cn:8088",
254254
//target: "http://devluban.ctyun.cn:8088",
255255
changeOrigin: true,
256256
pathRewrite: {

0 commit comments

Comments
 (0)