Skip to content

Commit 447df82

Browse files
authored
Merge branch 'master' into fix-origin
2 parents 725eefa + 37d4825 commit 447df82

File tree

6 files changed

+18
-14
lines changed

6 files changed

+18
-14
lines changed

.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,5 +6,5 @@
66
node_modules/
77
dist/
88

9-
.package-lock.json
9+
package-lock.json
1010
.env.development

README.md

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -36,11 +36,9 @@ Read the Quick Start [Quick Start](/docs/en_US/ch3/Scriptis_Quick_Start.md)
3636
![Comparison](/docs/en_US/images/readme/Comparison.png)
3737

3838
## Community
39-
If you desire immediate response, please kindly raise issues to us or scan the below QR code by WeChat to join our group:
39+
If you desire immediate response, please kindly raise issues to us or scan the below QR code by WeChat and QQ to join our group:
4040

41-
![WeChat](/docs/en_US/images/wechat.jpg)
42-
43-
QQ Group:872767532
41+
![WeChatQQ](/docs/en_US/images/wechatQQ.png)
4442

4543
## License
4644

docs/en_US/images/wechatQQ.png

88.6 KB
Loading

docs/zh_CN/README.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,11 @@ Scriptis是一款支持在线写SQL、Pyspark、HiveQL等脚本,提交给**Lin
4444
### 同类系统对比:
4545
![对比图](images/readme/对比.png)
4646

47+
## 社区
48+
如果您想得到最快的响应,请给我们提issue,或者您也可以扫码进群:
49+
50+
![WeChatQQ](/docs/en_US/images/wechatQQ.png)
51+
4752
### 文档:
4853
* [部署手册](ch1/前台部署文档.md)
4954
* [前台编译手册](ch2/编译文档.md)

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
"fix": "eslint --ext .js,.vue src --fix"
1010
},
1111
"dependencies": {
12-
"axios": "^0.16.2",
12+
"axios": "^0.19.0",
1313
"babel-polyfill": "^6.26.0",
1414
"core-js": "^2.6.5",
1515
"dexie": "^2.0.4",

src/js/module/workbench/container.vue

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -135,10 +135,10 @@ export default {
135135
current: '',
136136
closeModal: {
137137
text: '',
138-
cancel: new Function(),
139-
close: new Function(),
140-
save: new Function(),
141-
saveAs: new Function(),
138+
cancel: function() {},
139+
close: function() {},
140+
save: function() {},
141+
saveAs: function() {},
142142
},
143143
showCloseModal: false,
144144
userName: '',
@@ -565,13 +565,14 @@ export default {
565565
if (work.unsave) {
566566
this.chooseWork(work);
567567
this.showCloseModal = true;
568+
// eslint-disable-next-line no-unused-expressions
568569
this.closeModal.cancel = () => {
569570
this.showCloseModal = false;
570-
this.close = new Function();
571-
this.save = new Function();
572-
this.saveAs = new Function();
571+
this.close = function() {};
572+
this.save = function() {};
573+
this.saveAs = function() {};
573574
resolve();
574-
},
575+
};
575576
this.closeModal.close = () => {
576577
this.showCloseModal = false;
577578
doRemove();

0 commit comments

Comments
 (0)