support open browse path
This commit is contained in:
36
src/App.vue
36
src/App.vue
@@ -27,6 +27,8 @@ const {
|
||||
openProfileError,
|
||||
openBrowserProfile,
|
||||
page,
|
||||
pickExecutablePath,
|
||||
pickUserDataPath,
|
||||
profileSortKey,
|
||||
refreshAll,
|
||||
savingConfig,
|
||||
@@ -115,17 +117,35 @@ const {
|
||||
</label>
|
||||
<label class="field-group">
|
||||
<span>Executable Path</span>
|
||||
<input
|
||||
v-model="createConfigForm.executablePath"
|
||||
placeholder="C:\Program Files\...\chrome.exe"
|
||||
/>
|
||||
<div class="path-input-row">
|
||||
<input
|
||||
v-model="createConfigForm.executablePath"
|
||||
placeholder="C:\Program Files\...\chrome.exe"
|
||||
/>
|
||||
<button
|
||||
class="secondary-button"
|
||||
type="button"
|
||||
@click="pickExecutablePath"
|
||||
>
|
||||
Browse File
|
||||
</button>
|
||||
</div>
|
||||
</label>
|
||||
<label class="field-group field-span">
|
||||
<span>User Data Path</span>
|
||||
<input
|
||||
v-model="createConfigForm.userDataPath"
|
||||
placeholder="C:\Users\...\User Data"
|
||||
/>
|
||||
<div class="path-input-row">
|
||||
<input
|
||||
v-model="createConfigForm.userDataPath"
|
||||
placeholder="C:\Users\...\User Data"
|
||||
/>
|
||||
<button
|
||||
class="secondary-button"
|
||||
type="button"
|
||||
@click="pickUserDataPath"
|
||||
>
|
||||
Browse Folder
|
||||
</button>
|
||||
</div>
|
||||
</label>
|
||||
</div>
|
||||
<div class="config-form-actions">
|
||||
|
||||
Reference in New Issue
Block a user