Skip to content

Commit a22c097

Browse files
committed
fix:eslint 格式修改
1 parent 9e91a8f commit a22c097

File tree

3 files changed

+32
-32
lines changed

3 files changed

+32
-32
lines changed

web/packages/scriptis/module/workbench/container.vue

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -154,13 +154,13 @@
154154
v-if="closeModal.save"
155155
type="primary"
156156
@click="closeModal.save"
157-
>{{ $t('message.scripts.container.footer.save') }}</Button
157+
>{{ $t('message.scripts.container.footer.save') }}</Button
158158
>
159159
<Button
160160
v-if="closeModal.saveAs"
161161
type="primary"
162162
@click="closeModal.saveAs"
163-
>{{ $t('message.scripts.container.footer.saveAs') }}</Button
163+
>{{ $t('message.scripts.container.footer.saveAs') }}</Button
164164
>
165165
</div>
166166
</Modal>
@@ -1038,11 +1038,11 @@ export default {
10381038
const scriptText =
10391039
work.type === 'hdfsScript'
10401040
? `${work.filename}-${this.$t(
1041-
'message.scripts.container.removeWork.readOnly'
1042-
)}`
1041+
'message.scripts.container.removeWork.readOnly'
1042+
)}`
10431043
: `${work.filename}-${this.$t(
1044-
'message.scripts.container.removeWork.temporary'
1045-
)}`
1044+
'message.scripts.container.removeWork.temporary'
1045+
)}`
10461046
this.closeModal.text = scriptText
10471047
this.closeModal.save = null
10481048
this.closeModal.saveAs = () => {
@@ -1230,11 +1230,11 @@ export default {
12301230
const configuration = isEmpty(params.configuration)
12311231
? {}
12321232
: {
1233-
special: {},
1234-
runtime: {},
1235-
startup: {},
1236-
...params.configuration,
1237-
}
1233+
special: {},
1234+
runtime: {},
1235+
startup: {},
1236+
...params.configuration,
1237+
}
12381238
return {
12391239
...params,
12401240
variable,

web/packages/scriptis/module/workbench/script/editor.vue

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@
1717
<div
1818
v-if="
1919
scriptType !== 'hdfsScript' &&
20-
scriptType !== 'historyScript' &&
21-
!readonly
20+
scriptType !== 'historyScript' &&
21+
!readonly
2222
"
2323
class="workbench-body-navbar-group"
2424
>
@@ -72,9 +72,9 @@
7272
class="workbench-body-navbar-item"
7373
v-if="
7474
!script.readOnly &&
75-
!isHdfs &&
76-
isSupport &&
77-
(script.application == 'jdbc' || script.application == 'ck')
75+
!isHdfs &&
76+
isSupport &&
77+
(script.application == 'jdbc' || script.application == 'ck')
7878
"
7979
>
8080
<Select
@@ -89,7 +89,7 @@
8989
v-for="item in dataSetList"
9090
:value="item.dataSourceName"
9191
:key="item.id"
92-
>{{ item.dataSourceName }}</Option
92+
>{{ item.dataSourceName }}</Option
9393
>
9494
</Select>
9595
</div>

web/packages/scriptis/module/workbench/script/script.vue

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -981,8 +981,8 @@ export default {
981981
const name = this.work.filepath || this.work.filename
982982
const label = autoJoin
983983
? `${this.$root.$t('message.scripts.script')}${
984-
this.work.filename
985-
} ${msg}`
984+
this.work.filename
985+
} ${msg}`
986986
: msg
987987
this.$Notice.close(name)
988988
this.$Notice[type]({
@@ -1584,15 +1584,15 @@ export default {
15841584
: util.convertArrayToObject(params.variable)
15851585
const configuration = isEmpty(params.configuration)
15861586
? {
1587-
special: {},
1588-
runtime: {},
1589-
startup: {},
1590-
}
1587+
special: {},
1588+
runtime: {},
1589+
startup: {},
1590+
}
15911591
: {
1592-
special: params.configuration.special || {},
1593-
runtime: params.configuration.runtime || {},
1594-
startup: params.configuration.startup || {},
1595-
}
1592+
special: params.configuration.special || {},
1593+
runtime: params.configuration.runtime || {},
1594+
startup: params.configuration.startup || {},
1595+
}
15961596
return {
15971597
variable,
15981598
configuration,
@@ -1605,11 +1605,11 @@ export default {
16051605
const configuration = isEmpty(params.configuration)
16061606
? {}
16071607
: {
1608-
special: {},
1609-
runtime: {},
1610-
startup: {},
1611-
...params.configuration,
1612-
}
1608+
special: {},
1609+
runtime: {},
1610+
startup: {},
1611+
...params.configuration,
1612+
}
16131613
return {
16141614
...params,
16151615
variable,

0 commit comments

Comments
 (0)