-
If you want to implement the element-ui DatePicker date selector, you can only choose within 7 days.
demand is 1: 15 days after the current time is banned, 2: the date range can only be within 7 days. If the start time is the 2nd, the end time cannot be greater than the 8th, and the rest display mouse display is disabled .
have you ever done it, ...
-
When vue clicks delete, how can I be sure which one I clicked?
The page is shown in the figure
the question now is: after I click Delete, how can I tell how much id I deleted?
HTML Code:
<div id="app" class="container">
<table class="table table-hover">
...
-
There is an extra line in the vscode paste.
vscode paste will have an extra line of space after it. How to solve this problem? ...
-
You can't use vue data directly in js?
addPermission:function(){
this.$validator.validateAll().then((result) => {
if(result){
var finalPath = this.new_path1 + ":" + this.new_path2;
console.log(finalPath); underfine
}
...
-
Navigation contraction doesn't work, but it works after F5 refreshes the page.
as shown in the figure, the control navigation of this button shrinks.
1. As soon as the page opens (that is, after logging in), this button doesn t work at all.
2. But after the F5 refresh, this button works.
3. So I tested the code locally ...
-
Input will automatically store the previously entered data, how to clear it?
A created page can be opened for the first time. However, after the input data is submitted, the second time you open input, you will display the previously entered data
and I didn t set the yellow background to run out automatically.
The projec...
-
Used vue_cli, the interviewer asked if webpack should answer?
I have not learned webpack, to learn vue scaffolding as soon as I started. I have done projects independently and packing is normal. Do I answer this question in the interview or not? ...
-
About the city selector of vue
first of all, the interface looks like this
: 1.elementUI 2.: - 3.: - Mayabeque 4.Mayabeque
according to the normal logic, I deleted the country, and the corresponding province should be deleted automatically.
<el-select v-model="coun...
-
On the failure of ElementUI form value type detection
just started contact with Vue and ElementUI, recently encountered problems in the development process and experienced all kinds of painful debug. Let s get to the point:
it seems that you can t transfer files here, so I ll just paste the code:
<...
-
How to get the currently selected id? in the elementUI table
read the official document and was really deceived.
...
-
How do I get the text node in this DOM element?
< div id= test > asdfgh < span class= cancel-btn > < div >
how do you get only asdfgh if you want to get it? You can use either jquery or native js. Thank you, guys. Thank you.
...
-
Why does vue not recommend global registration components?
if it is a global registration, so that I do not have to introduce each page one by one, isn t it very convenient? Why don t so many people recommend global components? ...
-
How to calculate the distance between two div
...
-
Vux framework, how to get the id? selected by the check box
the official document is as follows:
<checklist title="" :options="commonList" v-model="fruitID">< checklist>
{{fruitID}}
commonList:[ China , Japan , America ]
but the actual project data wi...
-
Gaud, how to enter prompts by area
Why can t you press the regional prompt only by the city prompt
...
-
Can vue bind global properties?
A toash component, the time I set is 1800 milliseconds, and a project has N pages using toash. If one day the product asks me to change it to 3000 milliseconds, then I have to change it one by one. Is there a good solution?
<toast
v-model=&qu...
-
How do two arrays of vue judge duplicate data?
is doing a tagging module, as follows:
my problem: I can choose the same tag the effect I want: the tag cannot choose the same my first thought is to use v-if to determine whether two arrays have the same data, so that they can show and hide, but...
-
If the upload of a single picture is changed to that of multiple images, the data will not be received in the background?
<input type="file" multiple accept="image png,image gif,image jpeg" @change="getFile($event)">
input
getFile:function(e){
this.file = e.target.files;
},
creation:function(){
console.log(this.file);
...
-
Ask for advice: use the page of iScroll to cover up the content problem in the header of the latest version of Wechat's built-in browser.
as shown in the figure: normal status:
:
this page uses iscroll to roll down. I don t know if it has any effect. Only in Wechat built-in browser (QQ Browser) will appear this problem, other browsers are normal, ask Daniel, how to deal with compati...
-
How to open input? through js
one button, one input
<button>Upload< button>
<input type="file" multiple>
clicking input will pop up the upload window but the effect I want: clicking button will pop up the input upload window. How can this be achieved ...