Skip to content
代码片段 群组 项目
提交 0e163d91 编辑于 作者: Timotej Ecimovic's avatar Timotej Ecimovic
浏览文件

Remove the conditional SPA rebuild. It's always needed, as even just node serves the spa.

上级 294ae0a2
No related branches found
No related tags found
无相关合并请求
...@@ -37,9 +37,7 @@ if ( ...@@ -37,9 +37,7 @@ if (
scriptUtil scriptUtil
.stampVersion() .stampVersion()
.then(() => { .then(() => scriptUtil.rebuildSpaIfNeeded())
if (executor === 'electron') return scriptUtil.rebuildSpaIfNeeded()
})
.then(() => { .then(() => {
let cmdArgs = ['src-electron/main-process/electron-main.js'] let cmdArgs = ['src-electron/main-process/electron-main.js']
......
...@@ -17,7 +17,7 @@ limitations under the License. ...@@ -17,7 +17,7 @@ limitations under the License.
<div> <div>
<div class="text-h4 q-mb-md">User settings</div> <div class="text-h4 q-mb-md">User settings</div>
<p>User preferences.</p> <p>User preferences.</p>
<q-input v-model="localPath" label="Last file location" /> <q-input @input="setPath" v-model="localPath" label="Last file location" />
</div> </div>
</template> </template>
<script> <script>
...@@ -25,6 +25,11 @@ import * as storage from '../util/storage.js' ...@@ -25,6 +25,11 @@ import * as storage from '../util/storage.js'
import rendApi from '../../src-shared/rend-api.js' import rendApi from '../../src-shared/rend-api.js'
export default { export default {
name: 'PreferenceUser', name: 'PreferenceUser',
methods: {
setPath(path) {
storage.setItem(rendApi.storageKey.fileSave, path)
},
},
computed: { computed: {
localPath: { localPath: {
get() { get() {
......
0% 加载中 .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册