如何确保一旦文本字段发生更改,保存按钮就会启用?或单击“编辑”(从而创建按钮),应用将启用编辑功能,从而启用该按钮, 并已在插入或删除的情况下被激活。
这是一张图片 app
代码如下:
leveldown.target.mk:119: recipe for target 'Release/obj.target/leveldown/src/batch.o' failed
make: *** [Release/obj.target/leveldown/src/batch.o] Error 1
make: Leaving directory '/tmp/build_a88fcf6bc0d0193fca5e7b7e86dbebe2/node_modules/level/node_modules/leveldown/build'
gyp ERR! build error
gyp ERR! stack Error: `make` failed with exit code: 2
gyp ERR! stack at ChildProcess.onExit (/tmp/build_a88fcf6bc0d0193fca5e7b7e86dbebe2/.heroku/node/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:262:23)
gyp ERR! stack at ChildProcess.emit (events.js:182:13)
gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:240:12)
gyp ERR! System Linux 4.4.0-1031-aws
gyp ERR! command "/tmp/build_a88fcf6bc0d0193fca5e7b7e86dbebe2/.heroku/node/bin/node" "/tmp/build_a88fcf6bc0d0193fca5e7b7e86dbebe2/.heroku/node/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /tmp/build_a88fcf6bc0d0193fca5e7b7e86dbebe2/node_modules/level/node_modules/leveldown
gyp ERR! node -v v10.15.0
gyp ERR! node-gyp -v v3.8.0
gyp ERR! not ok
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! leveldown@1.7.2 install: `prebuild-install || node-gyp rebuild`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the leveldown@1.7.2 install script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! /tmp/npmcache.BFWAV/_logs/2019-01-28T17_23_35_508Z-debug.log
-----> Build failed
答案 0 :(得分:0)
如@BradleDotNET所述,只需将TextBox Text绑定内的UpdateSourceTrigger设置为PropertyChanged,它便可以正常工作。