Skip to content

Commit

Permalink
设置页面修改后自动保存
Browse files Browse the repository at this point in the history
  • Loading branch information
monkeyWie committed Nov 1, 2018
1 parent 50b8e2e commit 3aab24b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion front/src/common/native.js
Original file line number Diff line number Diff line change
Expand Up @@ -274,7 +274,7 @@ export const getConfig = () => {
*/
export const setConfig = config => {
return new Promise((resolve, reject) => {
client
clientNoSpin
.put('/native/setConfig', config)
.then(response => resolve(response))
.catch(error => reject(error))
Expand Down
3 changes: 2 additions & 1 deletion front/src/components/ExtensionSetting.vue
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,8 @@
placement="right">
<Icon type="help-circled"
class="action-icon tip-icon" />
<div slot="content">
<div slot="content"
style="white-space: normal;width:200px;">
<p>{{ setting.description }}</p>
</div>
</Tooltip>
Expand Down

0 comments on commit 3aab24b

Please sign in to comment.